X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fext-core%2FMakefile;h=704cfc3fa4bac19884f34ba4dc021c7eb69abe84;hb=1bb3a4f7ea0b4005adb5d1a582a3796d152bc33e;hp=8c32a7bb25bce18c5d34cfd28a34770b05550387;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index 8c32a7b..704cfc3 100644 --- a/docs/ext-core/Makefile +++ b/docs/ext-core/Makefile @@ -1,18 +1,18 @@ +TOP = ../.. + # General makefile for Latex stuff +LATEX=latex \\nonstopmode \\input +BIBTEX=bibtex + 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 - +core.dvi: core.tex + -$(LATEX) core.tex + $(BIBTEX) core + -$(LATEX) core.tex + -$(LATEX) core.tex ######## General rules .SUFFIXES: @@ -30,6 +30,8 @@ distclean: clean maintainer-clean: distclean +include $(TOP)/mk/bindist.mk + # dummy targets all: boot: