This commit was manufactured by cvs2svn to create tag 'mac102'.
[python/dscho.git] / Doc / Makefile
blobc2879df463f3fa467cd976ab7279a8d3fe0de126
1 DESTDIR=/usr/local
2 LIBDESTDIR=$DESTDIR/lib
3 LIBDEST=$LIBDESTDIR/python
4 DOCDESTDIR=$LIBDEST/doc
6 all: tut lib ref ext
8 tut:
9 latex tut
10 latex tut
11 dvips tut >tut.ps
13 ref:
14 touch ref.ind
15 latex ref
16 ./fix_hack ref.idx
17 makeindex ref
18 latex ref
19 dvips ref >ref.ps
21 lib:
22 touch lib.ind
23 latex lib
24 ./fix_hack lib.idx
25 makeindex lib
26 latex lib
27 dvips lib >lib.ps
29 ext:
30 touch ext.ind
31 latex ext
32 ./fix_hack ext.idx
33 makeindex ext
34 latex ext
35 dvips ext >ext.ps
37 qua:
38 latex qua
39 bibtex qua
40 latex qua
41 latex qua
42 dvips qua >qua.ps
44 lib.texi: lib*.tex texipre.dat texipost.dat partparse.py
45 python partparse.py -o @lib.texi `whichlibs`
46 mv @lib.texi lib.texi
48 .PRECIOUS: lib.texi
50 python-lib.info: lib.texi fix.el
51 emacs -batch -l fix.el -f save-buffer -kill
52 makeinfo --footnote-style end --fill-column 72 --paragraph-indent 0 \
53 lib.texi
55 lib.info: python-lib.info
57 # This target is very local to CWI...
58 libwww: lib.texi
59 texi2html -d lib.texi /ufs/guido/www/texinfo/python
61 # This one too...
62 L2H= /usr/local/LaTeX2html/latex2html
63 L2HARGS=-address $$USER@`domainname` -dont_include myformat -nolatex
64 l2h: l2htut l2href l2hext
66 l2htut: tut
67 $(L2H) $(L2HARGS) tut.tex
68 @rm -rf python-tut
69 mv tut python-tut
71 l2href: ref
72 $(L2H) $(L2HARGS) ref.tex
73 @rm -rf python-ref
74 mv ref python-ref
76 l2hext: ext
77 $(L2H) $(L2HARGS) ext.tex
78 @rm -rf python-ext
79 mv ext python-ext
81 clean:
82 rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc
83 # Sources: .tex, .bib, .sty
84 # Useful results: .dvi, .ps, .texi, .info
86 clobber: clean
87 rm -f *.dvi *.ps *.texi *.info *.info-[0-9]*