projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b34089b
)
Compress the ext-core docs
author
Ian Lynagh
<igloo@earth.li>
Sat, 6 Sep 2008 13:56:16 +0000
(13:56 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 6 Sep 2008 13:56:16 +0000
(13:56 +0000)
docs/ext-core/Makefile
patch
|
blob
|
history
diff --git
a/docs/ext-core/Makefile
b/docs/ext-core/Makefile
index
dfb65b1
..
55eca3f
100644
(file)
--- a/
docs/ext-core/Makefile
+++ b/
docs/ext-core/Makefile
@@
-4,8
+4,8
@@
include $(TOP)/mk/boilerplate.mk
all: ps
install-docs:
all: ps
install-docs:
- -mkdir $(docdir)/ext-core
- cp core.ps $(docdir)/ext-core/
+ -mkdir $(docdir)/ext-core
+ cp core.ps.gz $(docdir)/ext-core/
# General makefile for Latex stuff
# General makefile for Latex stuff
@@
-13,7
+13,7
@@
LATEX=latex \\nonstopmode \\input
BIBTEX=bibtex
dvi: core.dvi
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
@@
-23,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 < $< > $@