File: Makefile

package info (click to toggle)
python 1.5.2-10potato11
  • links: PTS
  • area: main
  • in suites: potato
  • size: 13,340 kB
  • ctags: 36,680
  • sloc: ansic: 97,117; python: 88,266; makefile: 2,518; lisp: 2,363; sh: 882
file content (30 lines) | stat: -rw-r--r-- 837 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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

dist:
	(cd ../..; \
	 tar cf - `cat Demo/parser/FILES` | gzip >parsermodule-1.4.tar.gz)

include ../../Doc/Makefile