1 # General makefile for Latex stuff
7 core.dvi: core.tex prims.tex
11 ../../compiler/prelude/primops.txt: ../../compiler/prelude/primops.txt.pp
12 (cd ../../compiler/prelude; gcc -E -I../../includes -traditional -x c primops.txt.pp | /bin/sed -e '/^#/d' > primops.txt)
14 prims.tex: ../../compiler/prelude/primops.txt
15 ../../utils/genprimopcode/genprimopcode --make-latex-doc < ../../compiler/prelude/primops.txt > prims.tex
18 ######## General rules
20 .PRECIOUS: %.tex %.ps %.bbl
30 $(RM) prims.tex *.dvi *.ps *.bbl *.blg *.gz
32 maintainer-clean: distclean