projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Compress the ext-core docs
[ghc-hetmet.git]
/
docs
/
ext-core
/
Makefile
diff --git
a/docs/ext-core/Makefile
b/docs/ext-core/Makefile
index
561b71b
..
55eca3f
100644
(file)
--- 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
# 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
core.dvi: core.tex
-$(LATEX) core.tex
@@
-14,9
+23,12
@@
core.dvi: core.tex
######## General rules
.SUFFIXES:
######## General rules
.SUFFIXES:
-.PRECIOUS: %.tex %.ps %.bbl
+.PRECIOUS: %.tex %.ps %.ps.gz %.bbl
+%.gz: %
+ gzip < $< > $@
+
%.ps: %.dvi
dvips -f < $< > $@
%.ps: %.dvi
dvips -f < $< > $@
@@
-28,11
+40,11
@@
distclean: clean
maintainer-clean: distclean
maintainer-clean: distclean
+include $(TOP)/mk/bindist.mk
+
# dummy targets
# dummy targets
-all:
boot:
install:
boot:
install:
-install-docs:
html:
chm:
HxS:
html:
chm:
HxS: