Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 1 | DESTDIR=/usr/local |
| 2 | LIBDESTDIR=$DESTDIR/lib |
| 3 | LIBDEST=$LIBDESTDIR/python |
| 4 | DOCDESTDIR=$LIBDEST/doc |
| 5 | |
| 6 | all: tut ref lib qua |
Guido van Rossum | 20aca5a | 1991-01-25 13:29:04 +0000 | [diff] [blame] | 7 | |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 8 | tut: |
| 9 | latex tut |
| 10 | latex tut |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 11 | dvips tut >tut.ps |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame] | 12 | |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 13 | ref: |
| 14 | touch ref.ind |
| 15 | latex ref |
Guido van Rossum | 4ac605e | 1992-12-17 15:31:02 +0000 | [diff] [blame] | 16 | ./fix_hack ref.idx |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 17 | makeindex ref |
| 18 | latex ref |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 19 | dvips ref >ref.ps |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame] | 20 | |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 21 | lib: |
| 22 | touch lib.ind |
| 23 | latex lib |
Guido van Rossum | 95cd2ef | 1992-12-08 14:37:55 +0000 | [diff] [blame] | 24 | ./fix_hack lib.idx |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 25 | makeindex lib |
| 26 | latex lib |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 27 | dvips lib >lib.ps |
Guido van Rossum | a52117e | 1991-11-21 13:54:36 +0000 | [diff] [blame] | 28 | |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame^] | 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 |
| 36 | |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 37 | qua: |
| 38 | latex qua |
Guido van Rossum | b83241c | 1992-03-06 10:56:42 +0000 | [diff] [blame] | 39 | bibtex qua |
| 40 | latex qua |
Guido van Rossum | a3d5076 | 1992-06-03 17:59:20 +0000 | [diff] [blame] | 41 | latex qua |
Guido van Rossum | b2c6556 | 1993-05-12 08:53:36 +0000 | [diff] [blame] | 42 | dvips qua >qua.ps |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame] | 43 | |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame^] | 44 | lib.texi: lib1.tex lib2.tex lib3.tex lib4.tex lib5.tex texipre.dat texipost.dat |
| 45 | python partparse.py -o @lib.texi lib[1-5].tex |
| 46 | mv @lib.texi lib.texi |
Guido van Rossum | 95cd2ef | 1992-12-08 14:37:55 +0000 | [diff] [blame] | 47 | |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame^] | 48 | .PRECIOUS: lib.texi |
| 49 | |
| 50 | python-lib.info: lib.texi |
| 51 | emacs -batch -l fix.el -f save-buffer -kill |
| 52 | makeinfo +footnote-style end +fill-column 72 +paragraph-indent 0 \ |
| 53 | lib.texi |
| 54 | |
| 55 | lib.info: python-lib.info |
| 56 | |
| 57 | # This target is very local to CWI... |
| 58 | libwww: lib.texi |
| 59 | texi2html -d lib.texi /usr/local/ftp.cwi.nl/pub/www/texinfo/python |
Guido van Rossum | 970871f | 1993-02-21 20:10:26 +0000 | [diff] [blame] | 60 | |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 61 | clean: |
Guido van Rossum | 4ac605e | 1992-12-17 15:31:02 +0000 | [diff] [blame] | 62 | rm -f @* *~ *.aux *.idx *.ilg *.ind *.log *.toc *.blg *.bbl *.pyc |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 63 | # Sources: .tex, .bib, .sty |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame^] | 64 | # Useful results: .dvi, .ps, .texi, .info |
Guido van Rossum | 5b34373 | 1992-07-07 09:06:34 +0000 | [diff] [blame] | 65 | |
| 66 | clobber: clean |
Guido van Rossum | 7a2dba2 | 1993-11-05 14:45:11 +0000 | [diff] [blame^] | 67 | rm -f *.dvi *.ps *.texi *.info *.info-[0-9]* |