patch-2.3.99-pre2 linux/Documentation/DocBook/Makefile

Next file: linux/Documentation/DocBook/kernel-api.tmpl
Previous file: linux/Documentation/Configure.help
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre1/linux/Documentation/DocBook/Makefile linux/Documentation/DocBook/Makefile
@@ -1,4 +1,4 @@
-BOOKS	:= wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml
+BOOKS	:= wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml kernel-api.sgml
 	
 books:	docproc $(BOOKS)
 
@@ -10,7 +10,7 @@
 		<wanbook.tmpl >wanbook.sgml
 
 z8530book.sgml: z8530book.tmpl
-	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/syncppp.c \
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/z85230.c \
 		<z8530book.tmpl >z8530book.sgml
 
 mcabook.sgml: mcabook.tmpl
@@ -21,9 +21,23 @@
 	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/char/videodev.c \
 		<videobook.tmpl >videobook.sgml
 
+kernel-api.sgml: kernel-api.tmpl
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/char/videodev.c \
+		$(TOPDIR)/arch/i386/kernel/mca.c \
+		$(TOPDIR)/arch/i386/kernel/mtrr.c \
+		$(TOPDIR)/drivers/char/misc.c \
+		$(TOPDIR)/drivers/char/serial.c \
+		$(TOPDIR)/drivers/char/videodev.c \
+		$(TOPDIR)/drivers/sound/sound_core.c \
+		$(TOPDIR)/drivers/sound/sound_firmware.c \
+		$(TOPDIR)/drivers/net/wan/syncppp.c \
+		$(TOPDIR)/drivers/net/wan/z85230.c \
+		$(TOPDIR)/kernel/pm.c \
+		<kernel-api.tmpl >kernel-api.sgml
+
 clean:
 	rm -f core *~
-	rm -r $(BOOKS)
+	rm -f $(BOOKS)
 
 include $(TOPDIR)/Rules.make
 

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