summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-17 15:45:25 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-17 15:45:25 (GMT)
commitddae414cb527df4206c0cf65800a9d0ac0183ea5 (patch)
treee2184461a49fec64b123c85765ff0867f6882cd7
parent5c4e648731e9184321adccc58d46a4d1caaac058 (diff)
downloadcpython-ddae414cb527df4206c0cf65800a9d0ac0183ea5.zip
cpython-ddae414cb527df4206c0cf65800a9d0ac0183ea5.tar.gz
cpython-ddae414cb527df4206c0cf65800a9d0ac0183ea5.tar.bz2
Added all-formats target: use this to get both PDF and PS files; using the
"alternate" rules for PDF generation doesn't ensure the PS files get generated since distiller isn't used. Switch to the "alternate" rules for PDF generation; this is starting to make more sense than the distiller-based rule, and requires only free software. I'm also confident it's working well (meaning I paged through all four pdflatex-generated PDF files).
-rw-r--r--Doc/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index a67d07a..abcf73b 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -83,6 +83,12 @@ all-dvi: $(DVIFILES)
all-pdf: $(PDFFILES)
all-ps: $(PSFILES)
+# This target gets both the PDF and PS files updated; the more specific
+# targets above don't ensure that both are done if the "alternate" rules
+# (using pdflatex) for PDF generation are used.
+#
+all-formats: $(PSFILES) $(PDFFILES)
+
# Individual document fake targets
tut: tut.ps
lib: lib.ps
@@ -95,8 +101,8 @@ api: api.ps
.dvi.ps:
$(DVIPS) $< >$@
-.ps.pdf:
- $(DISTILL) $<
+#.ps.pdf:
+# $(DISTILL) $<
# An alternate formulation of PDF creation; requires latex format with
# pdftex. To use this instead of the Acrobat distiller solution, comment
@@ -106,8 +112,8 @@ api: api.ps
# This rule avoids creation of the intermediate PostScript files and uses
# only free software.
#
-#.dvi.pdf:
-# $(PDFLATEX) $*
+.dvi.pdf:
+ $(PDFLATEX) $*
# Dependencies
COMMONTEX=myformat.sty copyright.tex boilerplate.tex
@@ -232,7 +238,7 @@ lib.info: python-lib.info
# source of. The prominent location makes it worth the extra step;
# this affects the title pages!
-l2h: l2htut l2hext l2hlib l2hapi
+l2h: l2hapi l2hext l2hlib l2htut
l2htut: tut.dvi myformat.perl
$(L2H) $(L2HARGS) tut.tex