summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-07-07 09:06:34 (GMT)
committerGuido van Rossum <guido@python.org>1992-07-07 09:06:34 (GMT)
commit5b34373b495bb1bc1c10d1ab0a1ddecae02623eb (patch)
tree66001e4c8e9aa0b05421a83e00a25657553fa837 /Doc
parentb64e63545f0d6d73fb6b85a4d64ae2b9bce837cc (diff)
downloadcpython-5b34373b495bb1bc1c10d1ab0a1ddecae02623eb.zip
cpython-5b34373b495bb1bc1c10d1ab0a1ddecae02623eb.tar.gz
cpython-5b34373b495bb1bc1c10d1ab0a1ddecae02623eb.tar.bz2
> * Makefile: always create .ps files; add qua to 'all' target;
> added 'clobber' target
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index dc56d80..dccd5eb 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -1,27 +1,40 @@
-all: tut ref lib # qua
+DESTDIR=/usr/local
+LIBDESTDIR=$DESTDIR/lib
+LIBDEST=$LIBDESTDIR/python
+DOCDESTDIR=$LIBDEST/doc
+
+all: tut ref lib qua
tut:
latex tut
latex tut
+ dvips tut >tut.ps
ref:
touch ref.ind
latex ref
makeindex ref
latex ref
+ dvips ref >ref.ps
lib:
touch lib.ind
latex lib
makeindex lib
latex lib
+ dvips lib >lib.ps
qua:
latex qua
bibtex qua
latex qua
latex qua
+ dvips lib >lib.ps
clean:
- rm -f @* *~ *.aux *.dvi *.idx *.ilg *.ind *.log *.ps *.toc *.blg
- # Keep: .tex, .bib, .sty!
+ rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl
+ # Sources: .tex, .bib, .sty
+ # Useful results: .dvi, .ps
+
+clobber: clean
+ rm -f *.dvi *.ps