X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fext-core%2FMakefile;h=603a6706629048ba67cfe818f8fd24ca2a88c3a6;hb=e5c3b478b3cd1707cf122833822f44b2ac09b8e9;hp=42c9a8f2dd0fddae67be5f46da44c6e8a3ea141d;hpb=ebf8b86b087dbe219cfb16e7d71ac03132378ee6;p=ghc-hetmet.git diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index 42c9a8f..603a670 100644 --- a/docs/ext-core/Makefile +++ b/docs/ext-core/Makefile @@ -1,63 +1,3 @@ +dir = docs/users_guide TOP = ../.. -include $(TOP)/mk/boilerplate.mk - -ifeq "$(LATEX_DOCS)" "YES" -all: pdf - -install-docs: - -mkdir $(docdir)/ext-core - cp core.pdf $(docdir)/ext-core/ -else -all: -endif - -# General makefile for Latex stuff - -LATEX=latex \\nonstopmode \\input -BIBTEX=bibtex - -dvi: core.dvi -ps: core.ps core.ps.gz -pdf: core.pdf - -core.dvi: core.tex - -$(LATEX) core.tex - $(BIBTEX) core - -$(LATEX) core.tex - -$(LATEX) core.tex - -######## General rules -.SUFFIXES: -.PRECIOUS: %.tex %.ps %.ps.gz %.pdf %.bbl - - -%.gz: % - gzip < $< > $@ - -%.ps: %.dvi - dvips -f < $< > $@ - -%.pdf: %.ps - ps2pdf $< $@ - -clean: - $(RM) *.aux *.log - -distclean: clean - $(RM) prims.tex *.dvi *.ps *.pdf *.bbl *.blg *.gz - -maintainer-clean: distclean - -ifeq "$(LATEX_DOCS)" "YES" -BINDIST_EXTRAS += core.pdf -endif -include $(TOP)/mk/bindist.mk - -# dummy targets -boot: -install: -html: -chm: -HxS: - -# End of file +include $(TOP)/mk/sub-makefile.mk