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