X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fdocs%2Fext-core%2FMakefile;h=b5814d03647a71c50e58af65ccdf8a1bf273b8e4;hb=c1c1e720a1e42df940c932f789f74bd5bcff4882;hp=af60181f244c4a5781eb410c14a93ba7015b09b9;hpb=86c66f232810b50294e9aec23f71fefe5d44ca4a;p=ghc-hetmet.git diff --git a/ghc/docs/ext-core/Makefile b/ghc/docs/ext-core/Makefile index af60181..b5814d0 100644 --- a/ghc/docs/ext-core/Makefile +++ b/ghc/docs/ext-core/Makefile @@ -1,30 +1,34 @@ -# General makefile for Latex stuff - -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 -f *.aux *.log - -nuke: clean - rm -f *.dvi *.ps *.bbl *.blg - -# End of file +# General makefile for Latex stuff + +dvi: core.dvi +ps: core.ps +html: + +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 + +# End of file