blob: 0d02215c3c4acc14e9e73c3fa69d312e3ef23530 [file] [log] [blame]
Guido van Rossum16d27e31996-08-21 16:28:53 +00001parser.dvi: parser.tex ../../Doc/libparser.tex
2 TEXINPUTS=../../Doc:: $(LATEX) parser
3
Fred Drake3f3691e1996-09-12 12:59:25 +00004parser.ps: parser.dvi
5 $(DVIPS) parser >parser.ps
6
7parser.texi: @lib.texi
8 $(EMACS) -batch -l ../../Doc/fix.el -f save-buffer -kill
9 mv @lib.texi parser.texi
10
11@lib.texi:../../Doc/libparser.tex \
12 texipre.dat ../../Doc/texipost.dat \
13 ../../Doc/partparse.py ../../Doc/fix.el
14 $(PYTHON) ../../Doc/partparse.py -o @lib.texi \
15 -t ../../Doc/texipost.dat \
16 ../../Doc/libparser.tex
17
18parserwww: parser.texi
19 if test -d html ; then true; else mkdir html ; fi
20 $(PYTHON) ../../Doc/texi2html.py -d parser.texi html
21
Guido van Rossum16d27e31996-08-21 16:28:53 +000022# Use a new name for this; the included file uses 'clean' already....
23clean-parser:
Guido van Rossum8206fb91996-08-26 00:33:29 +000024 rm -f *.log *.aux *.dvi *.pyc *.ps
25
26dist:
27 (cd ../..; \
28 tar cf - `cat Demo/parser/FILES` | gzip >parsermodule-1.4.tar.gz)
Guido van Rossum16d27e31996-08-21 16:28:53 +000029
30include ../../Doc/Makefile