> * Makefile: always create .ps files; add qua to 'all' target;

>   added 'clobber' target
This commit is contained in:
Guido van Rossum 1992-07-07 09:06:34 +00:00
parent b64e63545f
commit 5b34373b49
1 changed files with 16 additions and 3 deletions

View File

@ -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