projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the ext-core doc in bindists
[ghc-hetmet.git]
/
docs
/
ext-core
/
Makefile
diff --git
a/docs/ext-core/Makefile
b/docs/ext-core/Makefile
index
10f3183
..
aae6c48
100644
(file)
--- a/
docs/ext-core/Makefile
+++ b/
docs/ext-core/Makefile
@@
-1,10
+1,23
@@
+TOP = ../..
+include $(TOP)/mk/boilerplate.mk
+
+ifeq "$(LATEX_DOCS)" "YES"
+all: ps
+
+install-docs:
+ -mkdir $(docdir)/ext-core
+ cp core.ps.gz $(docdir)/ext-core/
+else
+all:
+endif
+
# 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,8
+27,11
@@
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,14
+44,12
@@
distclean: clean
maintainer-clean: distclean
maintainer-clean: distclean
-binary-dist:
- @:
+BINDIST_EXTRAS += core.ps.gz
+include $(TOP)/mk/bindist.mk
# dummy targets
# dummy targets
-all:
boot:
install:
boot:
install:
-install-docs:
html:
chm:
HxS:
html:
chm:
HxS: