summaryrefslogtreecommitdiffstats
path: root/Demo/parser/Makefile
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1996-09-12 12:59:25 (GMT)
committerFred Drake <fdrake@acm.org>1996-09-12 12:59:25 (GMT)
commit3f3691e12f1e39d5f8935ca9abf47d242c4952bb (patch)
tree40a5421f7101c361273fc156eb0b64e85075b7e5 /Demo/parser/Makefile
parentbe5e34204ee59a5d3d3a7f9539c4b8c2e277c388 (diff)
downloadcpython-3f3691e12f1e39d5f8935ca9abf47d242c4952bb.zip
cpython-3f3691e12f1e39d5f8935ca9abf47d242c4952bb.tar.gz
cpython-3f3691e12f1e39d5f8935ca9abf47d242c4952bb.tar.bz2
(Demo/parser/FILES, Demo/parser/Makefile, Demo/parser/parser.tex,
Demo/parser/texipre.dat): Clean up support files for stand-alone documentation formatting, make sure copyright statement is consistent with the copyright.
Diffstat (limited to 'Demo/parser/Makefile')
-rw-r--r--Demo/parser/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Demo/parser/Makefile b/Demo/parser/Makefile
index d71e811..0d02215 100644
--- a/Demo/parser/Makefile
+++ b/Demo/parser/Makefile
@@ -1,6 +1,24 @@
parser.dvi: parser.tex ../../Doc/libparser.tex
TEXINPUTS=../../Doc:: $(LATEX) parser
+parser.ps: parser.dvi
+ $(DVIPS) parser >parser.ps
+
+parser.texi: @lib.texi
+ $(EMACS) -batch -l ../../Doc/fix.el -f save-buffer -kill
+ mv @lib.texi parser.texi
+
+@lib.texi:../../Doc/libparser.tex \
+ texipre.dat ../../Doc/texipost.dat \
+ ../../Doc/partparse.py ../../Doc/fix.el
+ $(PYTHON) ../../Doc/partparse.py -o @lib.texi \
+ -t ../../Doc/texipost.dat \
+ ../../Doc/libparser.tex
+
+parserwww: parser.texi
+ if test -d html ; then true; else mkdir html ; fi
+ $(PYTHON) ../../Doc/texi2html.py -d parser.texi html
+
# Use a new name for this; the included file uses 'clean' already....
clean-parser:
rm -f *.log *.aux *.dvi *.pyc *.ps