X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fext-core%2FMakefile;h=55eca3f7cdd3e04e2b04812e1511a37db93daa8b;hb=084e40d36508e136f02a138eecd9c926fe44ebf3;hp=561b71bd043d7aeda414bf12c4da10d6e4122772;hpb=9f565a397c17568f725b25720a817326744777f0;p=ghc-hetmet.git diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index 561b71b..55eca3f 100644 --- a/docs/ext-core/Makefile +++ b/docs/ext-core/Makefile @@ -1,10 +1,19 @@ +TOP = ../.. +include $(TOP)/mk/boilerplate.mk + +all: ps + +install-docs: + -mkdir $(docdir)/ext-core + cp core.ps.gz $(docdir)/ext-core/ + # General makefile for Latex stuff LATEX=latex \\nonstopmode \\input BIBTEX=bibtex dvi: core.dvi -ps: core.ps +ps: core.ps core.ps.gz core.dvi: core.tex -$(LATEX) core.tex @@ -14,9 +23,12 @@ core.dvi: core.tex ######## General rules .SUFFIXES: -.PRECIOUS: %.tex %.ps %.bbl +.PRECIOUS: %.tex %.ps %.ps.gz %.bbl +%.gz: % + gzip < $< > $@ + %.ps: %.dvi dvips -f < $< > $@ @@ -28,11 +40,11 @@ distclean: clean maintainer-clean: distclean +include $(TOP)/mk/bindist.mk + # dummy targets -all: boot: install: -install-docs: html: chm: HxS: