summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-01-14 18:13:59 (GMT)
committerFred Drake <fdrake@acm.org>1999-01-14 18:13:59 (GMT)
commit3a7a3d745d771caeb5e5798b1d707b6f43646ced (patch)
tree7d11f712b1403d5994526678f8846598c9e0af82 /Doc
parent77274166862d7ca2addb29735475180b2755f1ac (diff)
downloadcpython-3a7a3d745d771caeb5e5798b1d707b6f43646ced.zip
cpython-3a7a3d745d771caeb5e5798b1d707b6f43646ced.tar.gz
cpython-3a7a3d745d771caeb5e5798b1d707b6f43646ced.tar.bz2
"Driver" makefile to convert all documents to SGML or XML at once.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tools/sgmlconv/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/Doc/tools/sgmlconv/Makefile b/Doc/tools/sgmlconv/Makefile
new file mode 100644
index 0000000..7416718
--- /dev/null
+++ b/Doc/tools/sgmlconv/Makefile
@@ -0,0 +1,29 @@
+# Simple makefile to control SGML generation for the entire document tree.
+# This should be used from the top-level directory (Doc/), not the directory
+# that actually contains this file:
+#
+# $ pwd
+# .../Doc
+# $ make -f tools/sgmlconv/Makefile
+
+TOPDIR=.
+TOOLSDIR=$(TOPDIR)/tools
+
+SGMLRULES=../$(TOOLSDIR)/sgmlconv/make.rules
+SUBDIRS=api ext lib mac ref tut
+
+all: sgml
+
+.PHONY: sgml xml
+
+sgml:
+ for DIR in $(SUBDIRS) ; do \
+ (cd $$DIR; \
+ $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) sgml) \
+ done
+
+xml:
+ for DIR in $(SUBDIRS) ; do \
+ (cd $$DIR; \
+ $(MAKE) -f $(SGMLRULES) TOOLSDIR=../$(TOOLSDIR) xml) \
+ done