diff options
author | Fred Drake <fdrake@acm.org> | 1999-03-16 16:11:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-03-16 16:11:27 (GMT) |
commit | 15087437d525a27c2d34d566390ef3085cf380c8 (patch) | |
tree | 0b6d790acc1d9fb68d8311d5149ac0ebe579ae34 /Doc | |
parent | 8df362cf9753277dcc284e153ca0d2d9fe744268 (diff) | |
download | cpython-15087437d525a27c2d34d566390ef3085cf380c8.zip cpython-15087437d525a27c2d34d566390ef3085cf380c8.tar.gz cpython-15087437d525a27c2d34d566390ef3085cf380c8.tar.bz2 |
Add support for "Documenting Python".
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Makefile | 9 | ||||
-rw-r--r-- | Doc/Makefile.deps | 2 | ||||
-rw-r--r-- | Doc/paper-letter/Makefile | 15 |
3 files changed, 23 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile index e48fdb2..7487f15 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -84,6 +84,9 @@ world: ps pdf html tarballs api api.ps: (cd paper-$(PAPER); $(MAKE) api.ps) +doc doc.ps: + (cd paper-$(PAPER); $(MAKE) doc.ps) + ext ext.ps: (cd paper-$(PAPER); $(MAKE) ext.ps) @@ -103,6 +106,9 @@ tut tut.ps: api.dvi: (cd paper-$(PAPER); $(MAKE) api.dvi) +doc.dvi: + (cd paper-$(PAPER); $(MAKE) doc.dvi) + ext.dvi: (cd paper-$(PAPER); $(MAKE) ext.dvi) @@ -122,6 +128,9 @@ tut.dvi: api.pdf: (cd paper-$(PAPER); $(MAKE) api.pdf) +doc.pdf: + (cd paper-$(PAPER); $(MAKE) doc.pdf) + ext.pdf: (cd paper-$(PAPER); $(MAKE) ext.pdf) diff --git a/Doc/Makefile.deps b/Doc/Makefile.deps index 2cdd019..06f6961 100644 --- a/Doc/Makefile.deps +++ b/Doc/Makefile.deps @@ -4,6 +4,8 @@ APIFILES= ../api/api.tex +DOCFILES= ../doc/doc.tex + EXTFILES= ../ext/ext.tex TUTFILES= ../tut/tut.tex 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 |