X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=docs%2Fext-core%2FMakefile;fp=docs%2Fext-core%2FMakefile;h=8c32a7bb25bce18c5d34cfd28a34770b05550387;hp=0000000000000000000000000000000000000000;hb=0065d5ab628975892cea1ec7303f968c3338cbe1;hpb=28a464a75e14cece5db40f2765a29348273ff2d2 diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile new file mode 100644 index 0000000..8c32a7b --- /dev/null +++ b/docs/ext-core/Makefile @@ -0,0 +1,42 @@ +# General makefile for Latex stuff + +dvi: core.dvi +ps: core.ps + +core.dvi: core.tex prims.tex + latex core.tex + latex core.tex + +../../compiler/prelude/primops.txt: ../../compiler/prelude/primops.txt.pp + (cd ../../compiler/prelude; gcc -E -I../../includes -traditional -x c primops.txt.pp | /bin/sed -e '/^#/d' > primops.txt) + +prims.tex: ../../compiler/prelude/primops.txt + ../../utils/genprimopcode/genprimopcode --make-latex-doc < ../../compiler/prelude/primops.txt > prims.tex + + +######## General rules +.SUFFIXES: +.PRECIOUS: %.tex %.ps %.bbl + + +%.ps: %.dvi + dvips -f < $< > $@ + +clean: + $(RM) *.aux *.log + +distclean: clean + $(RM) prims.tex *.dvi *.ps *.bbl *.blg *.gz + +maintainer-clean: distclean + +# dummy targets +all: +boot: +install: +install-docs: +html: +chm: +HxS: + +# End of file