Compress the ext-core docs
[ghc-hetmet.git] / docs / ext-core / Makefile
1 TOP = ../..
2 include $(TOP)/mk/boilerplate.mk
3
4 all: ps
5
6 install-docs:
7         -mkdir        $(docdir)/ext-core
8         cp core.ps.gz $(docdir)/ext-core/
9
10 #       General makefile for Latex stuff
11
12 LATEX=latex \\nonstopmode \\input
13 BIBTEX=bibtex
14
15 dvi: core.dvi
16 ps: core.ps core.ps.gz
17
18 core.dvi:       core.tex
19                 -$(LATEX) core.tex
20                 $(BIBTEX) core
21                 -$(LATEX) core.tex
22                 -$(LATEX) core.tex
23
24 ######## General rules
25 .SUFFIXES:
26 .PRECIOUS: %.tex %.ps %.ps.gz %.bbl
27
28
29 %.gz: %
30         gzip < $< > $@
31
32 %.ps: %.dvi
33         dvips -f < $< > $@
34
35 clean:
36         $(RM) *.aux *.log
37
38 distclean: clean
39         $(RM) prims.tex *.dvi *.ps *.bbl *.blg *.gz
40
41 maintainer-clean: distclean
42
43 include $(TOP)/mk/bindist.mk
44
45 # dummy targets
46 boot:
47 install:
48 html:
49 chm:
50 HxS:
51
52 # End of file