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

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

diff -u --recursive --new-file v2.3.51/linux/Documentation/DocBook/Makefile linux/Documentation/DocBook/Makefile
@@ -0,0 +1,29 @@
+BOOKS	:= wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml
+	
+books:	docproc $(BOOKS)
+
+docproc:
+	$(MAKE) -C $(TOPDIR)/scripts docproc
+
+wanbook.sgml: wanbook.tmpl
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/syncppp.c \
+		<wanbook.tmpl >wanbook.sgml
+
+z8530book.sgml: z8530book.tmpl
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/net/wan/syncppp.c \
+		<z8530book.tmpl >z8530book.sgml
+
+mcabook.sgml: mcabook.tmpl
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/arch/i386/kernel/mca.c \
+		<mcabook.tmpl >mcabook.sgml
+
+videobook.sgml: videobook.tmpl
+	$(TOPDIR)/scripts/docgen $(TOPDIR)/drivers/char/videodev.c \
+		<videobook.tmpl >videobook.sgml
+
+clean:
+	rm -f core *~
+	rm -r $(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)