summaryrefslogtreecommitdiffstats
path: root/Doc/paper-letter/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-03-16 16:11:27 (GMT)
committerFred Drake <fdrake@acm.org>1999-03-16 16:11:27 (GMT)
commit15087437d525a27c2d34d566390ef3085cf380c8 (patch)
tree0b6d790acc1d9fb68d8311d5149ac0ebe579ae34 /Doc/paper-letter/Makefile
parent8df362cf9753277dcc284e153ca0d2d9fe744268 (diff)
downloadcpython-15087437d525a27c2d34d566390ef3085cf380c8.zip
cpython-15087437d525a27c2d34d566390ef3085cf380c8.tar.gz
cpython-15087437d525a27c2d34d566390ef3085cf380c8.tar.bz2
Add support for "Documenting Python".
Diffstat (limited to 'Doc/paper-letter/Makefile')
-rw-r--r--Doc/paper-letter/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Doc/paper-letter/Makefile b/Doc/paper-letter/Makefile
index 85438c9..88049f1 100644
--- a/Doc/paper-letter/Makefile
+++ b/Doc/paper-letter/Makefile
@@ -12,19 +12,21 @@ TOOLSDIR= ../tools
TEXINPUTS= .:../texinputs:
MKDVI= TEXINPUTS=$(TEXINPUTS) $(TOOLSDIR)/mkdvi.sh
+# The --keep option is needed to keep the intermediate files for generating
+# the HTML global module index.
MKHOWTO= $(TOOLSDIR)/mkhowto --keep
MKPDF= TEXINPUTS=$(TEXINPUTS) $(TOOLSDIR)/mkdvi.sh --pdf
# what's what
MANDVIFILES= api.dvi ext.dvi lib.dvi ref.dvi tut.dvi
-HOWTODVIFILES= mac.dvi
+HOWTODVIFILES= doc.dvi mac.dvi
MANPDFFILES= api.pdf ext.pdf lib.pdf ref.pdf tut.pdf
-HOWTOPDFFILES= mac.pdf
+HOWTOPDFFILES= doc.pdf mac.pdf
MANPSFILES= api.ps ext.ps lib.ps ref.ps tut.ps
-HOWTOPSFILES= mac.ps
+HOWTOPSFILES= doc.ps mac.ps
DVIFILES= $(MANDVIFILES) $(HOWTODVIFILES)
PDFFILES= $(MANPDFFILES) $(HOWTOPDFFILES)
@@ -104,6 +106,13 @@ api.dvi: $(APIFILES)
api.pdf: $(APIFILES)
$(MKPDF) api
+# Documenting Python
+doc.dvi: $(DOCFILES) ../texinputs/ltxmarkup.sty
+ $(MKHOWTO) --dvi ../doc/doc.tex
+
+doc.pdf: $(DOCCFILES) ../texinputs/ltxmarkup.sty
+ $(MKHOWTO) --pdf ../doc/doc.tex
+
# Extending and Embedding the Python Interpreter
ext.dvi: $(EXTFILES)
$(MKDVI) ext