summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-04-13 21:02:49 (GMT)
committerFred Drake <fdrake@acm.org>1998-04-13 21:02:49 (GMT)
commitf5013f1f0c1eec01b8007f16d91f4a53da866553 (patch)
tree35146357cf89310c79f26454550ab7c5388197ad /Doc
parent974f295dd4cbf5cdb0f709d296f8741310c1796f (diff)
downloadcpython-f5013f1f0c1eec01b8007f16d91f4a53da866553.zip
cpython-f5013f1f0c1eec01b8007f16d91f4a53da866553.tar.gz
cpython-f5013f1f0c1eec01b8007f16d91f4a53da866553.tar.bz2
Add RELEASE make variable; this gets the entire release # ("1.5.1").
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 83be111..2a8765b 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -70,6 +70,7 @@ PARTPARSE= $(PYTHON) tools/partparse.py
# Ideally, you shouldn't need to edit beyond this point
+RELEASE=1.5.1
VERSION=1.5
DVIFILES= api.dvi ext.dvi lib.dvi tut.dvi
@@ -267,19 +268,19 @@ webcheck:
$(WEBCHECKER) -m290000 file:`pwd`/lib/
$(WEBCHECKER) file:`pwd`/tut/
-lib-info-$(VERSION).tar.gz: $(INFOFILES)
+lib-info-$(RELEASE).tar.gz: $(INFOFILES)
tar cf - python-???.info* | gzip -9 >$@
-latex-$(VERSION).tar.gz:
+latex-$(RELEASE).tar.gz:
tools/mktarball.sh
# This snags a PDF version if available, but doesn't fail if not.
-pdf-$(VERSION).tar.gz: $(PDFFILES)
+pdf-$(RELEASE).tar.gz: $(PDFFILES)
if test -f ref/ref.pdf ; then cp ref/ref.pdf . ; else true ; fi
tar cf - ???.pdf | gzip -9 >$@
if test -f ref.pdf ; then rm ref.pdf ; else true ; fi
-postscript-$(VERSION).tar.gz: $(PSFILES) ref/ref.ps
+postscript-$(RELEASE).tar.gz: $(PSFILES) ref/ref.ps
cp ref/ref.ps .
tar cf - ???.ps | gzip -9 >$@
rm ref.ps
@@ -287,17 +288,17 @@ 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 */*.gif \
- | gzip -9 >html-$(VERSION).tar.gz
+ | gzip -9 >html-$(RELEASE).tar.gz
# convenience targets:
-tarinfo: lib-info-$(VERSION).tar.gz
+tarinfo: lib-info-$(RELEASE).tar.gz
-tarps: postscript-$(VERSION).tar.gz
+tarps: postscript-$(RELEASE).tar.gz
-tarpdf: pdf-$(VERSION).tar.gz
+tarpdf: pdf-$(RELEASE).tar.gz
-tarlatex: latex-$(VERSION).tar.gz
+tarlatex: latex-$(RELEASE).tar.gz
tarballs: tarpdf tarps tarhtml tarlatex
@@ -310,9 +311,9 @@ tarballs: tarpdf tarps tarhtml tarlatex
clean:
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.py[co]
rm -f *.bak *.orig lib1.texi *.out @webchecker.pickle
- rm -f html-$(VERSION).tar.gz info-$(VERSION).tar.gz
- rm -f pdf-$(VERSION).tar.gz postscript-$(VERSION).tar.gz
- rm -f latex-$(VERSION).tar.gz
+ rm -f html-$(RELEASE).tar.gz info-$(RELEASE).tar.gz
+ rm -f pdf-$(RELEASE).tar.gz postscript-$(RELEASE).tar.gz
+ rm -f latex-$(RELEASE).tar.gz
l2hclean:
rm -rf api ext lib tut