summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-04 16:49:36 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-04 16:49:36 (GMT)
commitb1cd7710efebf16d90cd66aa0917b277fc56fc85 (patch)
tree021b23c2ef4c450d67733b22503449c1fdd1cf8a /Doc/Makefile
parent71472a5f203fb7defa99907bb00365c0294bdd84 (diff)
downloadcpython-b1cd7710efebf16d90cd66aa0917b277fc56fc85.zip
cpython-b1cd7710efebf16d90cd66aa0917b277fc56fc85.tar.gz
cpython-b1cd7710efebf16d90cd66aa0917b277fc56fc85.tar.bz2
pdf-$(VERSION).tar.gz: If ref/ref.pdf exists, include it in the tarball
along with the others. html-$(VERSION).tar.gz: Change the wildcard for picking up GIFs a little to avoid changes in what LaTeX2HTML generates.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 534fa4c..2b8596b 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -267,8 +267,11 @@ l2hapi: api.dvi manual.perl python.perl
info-$(VERSION).tar.gz: $(INFOFILES)
tar cf - python-???.info* | gzip -9 >$@
+# This snags a PDF version if available, but doesn't fail if not.
pdf-$(VERSION).tar.gz: $(PDFFILES)
+ if [ -f ref/ref.pdf ] ; then cp ref/ref.pdf . ; else true ; fi
tar cf - ???.pdf | gzip -9 >$@
+ if [ -f ref.pdf ] ; then rm ref.pdf ; else true ; fi
postscript-$(VERSION).tar.gz: $(PSFILES) ref/ref.ps
cp ref/ref.ps .
@@ -277,7 +280,7 @@ postscript-$(VERSION).tar.gz: $(PSFILES) ref/ref.ps
tarhtml:
@echo "Did you remember to run makeMIFs.py in the ref subdirectory...?"
- tar cf - index.html ???/???.css ???/*.html lib/*.gif icons/*.* \
+ tar cf - index.html ???/???.css ???/*.html */*.gif \
| gzip -9 >html-$(VERSION).tar.gz
# convenience targets: