patch-2.4.0-test7 linux/Documentation/DocBook/Makefile

Next file: linux/Documentation/README.DAC960
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/Documentation/DocBook/Makefile linux/Documentation/DocBook/Makefile
@@ -81,6 +81,11 @@
 	$(TOPDIR)/scripts/docgen $(APISOURCES) \
 		<kernel-api.tmpl >kernel-api.sgml
 
+kernel-api-man: $(APISOURCES)
+	@rm -rf $(TOPDIR)/Documentation/man
+	$(TOPDIR)/scripts/kernel-doc -man $^ | \
+		$(PERL) $(TOPDIR)/scripts/split-man $(TOPDIR)/Documentation/man
+
 parportbook: $(JPG-parportbook)
 parportbook.ps: $(EPS-parportbook)
 parportbook.sgml: parportbook.tmpl $(TOPDIR)/drivers/parport/init.c

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)