remove empty dir
[ghc-hetmet.git] / ghc / docs / ext-core / Makefile
1 #       General makefile for Latex stuff
2
3 dvi: core.dvi
4 ps: core.ps
5
6 core.dvi:       core.tex prims.tex
7                 latex core.tex
8                 latex core.tex
9
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)
12
13 prims.tex:      ../../compiler/prelude/primops.txt
14                 ../../utils/genprimopcode/genprimopcode --make-latex-doc < ../../compiler/prelude/primops.txt > prims.tex
15
16
17 ######## General rules
18 .SUFFIXES:
19 .PRECIOUS: %.tex %.ps %.bbl
20
21
22 %.ps: %.dvi
23         dvips -f < $< > $@
24
25 clean:
26         $(RM) *.aux *.log
27
28 distclean: clean
29         $(RM) prims.tex *.dvi *.ps *.bbl *.blg *.gz
30
31 maintainer-clean: distclean
32
33 # dummy targets
34 all:
35 boot:
36 install:
37 install-docs:
38 html:
39 chm:
40 HxS:
41
42 # End of file