summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-07-27 16:30:59 (GMT)
committerFred Drake <fdrake@acm.org>1999-07-27 16:30:59 (GMT)
commit4ef3ea0cc4b71a664e69c9835eed30411ad15c1e (patch)
tree97a745431fcbdb4c497fc0e4c3a088547cb0a4ca /Doc/Makefile
parent5772f33b6ce31a61714f25b6c6b2b1e6b157e86f (diff)
downloadcpython-4ef3ea0cc4b71a664e69c9835eed30411ad15c1e.zip
cpython-4ef3ea0cc4b71a664e69c9835eed30411ad15c1e.tar.gz
cpython-4ef3ea0cc4b71a664e69c9835eed30411ad15c1e.tar.bz2
Add support for bzip2 compression.
New target: distfiles, create all distribution archives, regardless of archive format. (Individual targets remain for each archive format.)
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile32
1 files changed, 30 insertions, 2 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 77eea69..70a373a 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -208,22 +208,36 @@ info-$(RELEASE).tgz: info
(cd $(INFODIR); tar cf - README python.dir python-???.info*) \
| gzip -9 >$@
+info-$(RELEASE).tar.bz2: info
+ (cd $(INFODIR); tar cf - README python.dir python-???.info*) \
+ | bzip2 -9 >$@
+
latex-$(RELEASE).tgz:
$(TOOLSDIR)/mktarball.sh $(RELEASE)
+latex-$(RELEASE).tar.bz2:
+ $(TOOLSDIR)/mktarball.sh --bzip2 $(RELEASE)
+
latex-$(RELEASE).zip:
$(TOOLSDIR)/mktarball.sh --zip $(RELEASE)
pdf-$(PAPER)-$(RELEASE).tgz: pdf
(cd paper-$(PAPER); tar cf - *.pdf) | gzip -9 >$@
+pdf-$(PAPER)-$(RELEASE).tar.bz2: pdf
+ (cd paper-$(PAPER); tar cf - *.pdf) | bzip2 -9 >$@
+
pdf-$(PAPER)-$(RELEASE).zip: pdf
(cd paper-$(PAPER); zip -9 ../$@ *.pdf)
-postscript-$(PAPER)-$(RELEASE).tgz: ps
+postscript-$(PAPER)-$(RELEASE).tar.bz2: ps
(cd paper-$(PAPER); $(MAKE) README)
(cd paper-$(PAPER); tar cf - *.ps README) | gzip -9 >$@
+postscript-$(PAPER)-$(RELEASE).tgz: ps
+ (cd paper-$(PAPER); $(MAKE) README)
+ (cd paper-$(PAPER); tar cf - *.ps README) | bzip2 -9 >$@
+
postscript-$(PAPER)-$(RELEASE).zip: ps
(cd paper-$(PAPER); $(MAKE) README)
(cd paper-$(PAPER); zip -9 ../$@ *.ps README)
@@ -232,6 +246,10 @@ html-$(RELEASE).tgz: html
(cd $(HTMLDIR); tar cf - *index.html ???/*.css ???/*.html */*.gif) \
| gzip -9 >$@
+html-$(RELEASE).tar.bz2: html
+ (cd $(HTMLDIR); tar cf - *index.html ???/*.css ???/*.html */*.gif) \
+ | bzip2 -9 >$@
+
html-$(RELEASE).zip: html
(cd $(HTMLDIR); zip -9 ../$@ *index.html ???/*.css ???/*.html */*.gif)
@@ -243,7 +261,7 @@ tarps: postscript-$(PAPER)-$(RELEASE).tgz
tarpdf: pdf-$(PAPER)-$(RELEASE).tgz
tarlatex: latex-$(RELEASE).tgz
-tarballs: tarpdf tarps tarhtml tarinfo tarlatex
+tarballs: tarpdf tarps tarhtml tarlatex
ziphtml: html-$(RELEASE).zip
zipps: postscript-$(PAPER)-$(RELEASE).zip
@@ -252,6 +270,16 @@ ziplatex: latex-$(RELEASE).zip
zips: zippdf zipps ziphtml ziplatex
+bziphtml: html-$(RELEASE).tar.bz2
+bzipinfo: info-$(RELEASE).tar.bz2
+bzipps: postscript-$(PAPER)-$(RELEASE).tar.bz2
+bzippdf: pdf-$(PAPER)-$(RELEASE).tar.bz2
+bziplatex: latex-$(RELEASE).tar.bz2
+
+bzips: bzippdf bzipps bziphtml bziplatex
+
+distfiles: tarballs zips bzips
+
# Housekeeping targets