summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-13 17:18:57 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-13 17:18:57 (GMT)
commit95810e4d181bcaa4620eba752c7e942f08c1c79f (patch)
tree909c029e815a0b4798d95e6b4d8e83a35082d69d /Doc/Makefile
parent657cb148c33be4c51c470cded834c5135c2316e6 (diff)
downloadcpython-95810e4d181bcaa4620eba752c7e942f08c1c79f.zip
cpython-95810e4d181bcaa4620eba752c7e942f08c1c79f.tar.gz
cpython-95810e4d181bcaa4620eba752c7e942f08c1c79f.tar.bz2
Removed tarps2, tardvi targets based on comments from Guido.
Added -9 option to gzip. This doesn't save much space, but it's "free" and appreaciated by those with slow modems. (With these tarballs, that means "those with modems"...!) Remove the two tarballs in the clean target.
Diffstat (limited to 'Doc/Makefile')
-rw-r--r--Doc/Makefile37
1 files changed, 5 insertions, 32 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 2fe6c0d..231e71a 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -58,7 +58,6 @@ DESTDIR= /usr/local
LIBDESTDIR= $DESTDIR/lib
LIBDEST= $LIBDESTDIR/python
DOCDESTDIR= $LIBDEST/doc
-TARBALLDEST= .
# This is only used for .info generation:
EMACS= emacs
@@ -74,13 +73,7 @@ VERSION=1.5
all: all-ps
all-dvi: tut.dvi lib.dvi ext.dvi api.dvi
-all-ps:
- ./texoption.sh -d openright
- $(MAKE) tut.ps lib.ps ext.ps api.ps
-
-all-ps2:
- ./texoption.sh openright
- $(MAKE) tut.ps lib.ps ext.ps api.ps
+all-ps: tut.ps lib.ps ext.ps api.ps
# Individual document fake targets
tut: tut.ps
@@ -252,35 +245,14 @@ l2hapi: api.dvi myformat.perl
tarhtml:
@echo "Did you remember to run makeMIFs.py in the ref subdirectory...?"
tar cf - index.html ???/???.css ???/*.html lib/*.gif icons/*.* \
- | gzip >html-$(VERSION).tar.gz
- if [ "$(TARBALLDEST)" != "." ] ; then \
- mv html-$(VERSION).tar.gz $(TARBALLDEST) ; else true ; fi
+ | gzip -9 >html-$(VERSION).tar.gz
tarps: all-ps
cp ref/ref.ps .
- tar cf - ???.ps | gzip >postscript-$(VERSION).tar.gz
+ tar cf - ???.ps | gzip -9 >postscript-$(VERSION).tar.gz
rm ref.ps
- if [ "$(TARBALLDEST)" != "." ] ; then \
- mv postscript-$(VERSION).tar.gz $(TARBALLDEST) ; else true ; fi
-
-tarps2: all-ps2
- cp ref/ref.ps .
- tar cf - ???.ps | gzip >postscript-2sided-$(VERSION).tar.gz
- rm ref.ps
- if [ "$(TARBALLDEST)" != "." ] ; then \
- mv postscript-2sided-$(VERSION).tar.gz $(TARBALLDEST) ; \
- else true ; fi
-
-tardvi:
- ./texoption.sh -d openright
- $(MAKE) all-dvi
- tar cf - ???.dvi | gzip >dvi-$(VERSION).tar.gz
- if [ "$(TARBALLDEST)" != "." ] ; then \
- mv dvi-$(VERSION).tar.gz $(TARBALLDEST) ; else true ; fi
-# This can take a long time, since the documents can get formatter twice by
-# LaTeX, once with openright and once without.
-tarballs: tardvi tarps tarps2 tarhtml
+tarballs: tarps tarhtml
# Housekeeping targets
@@ -292,6 +264,7 @@ clean: l2hclean
rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
rm -f *.texi *.info*
rm -f *.bak *.orig
+ rm -f html-$(VERSION).tar.gz postscript-$(VERSION).tar.gz
l2hclean:
rm -rf api ext lib tut