summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-09-06 13:56:16 +0000
committerIan Lynagh <igloo@earth.li>2008-09-06 13:56:16 +0000
commit084e40d36508e136f02a138eecd9c926fe44ebf3 (patch)
tree3d1652d3a23bcbc1d76dc0ee57b05773fad3249b /docs
parentb34089b7a289842d8f7504fab251b8455e3a6721 (diff)
downloadhaskell-084e40d36508e136f02a138eecd9c926fe44ebf3.tar.gz
Compress the ext-core docs
Diffstat (limited to 'docs')
-rw-r--r--docs/ext-core/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile
index dfb65b1e75..55eca3f7cd 100644
--- a/docs/ext-core/Makefile
+++ b/docs/ext-core/Makefile
@@ -4,8 +4,8 @@ include $(TOP)/mk/boilerplate.mk
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
@@ -13,7 +13,7 @@ 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
@@ -23,9 +23,12 @@ core.dvi: core.tex
######## General rules
.SUFFIXES:
-.PRECIOUS: %.tex %.ps %.bbl
+.PRECIOUS: %.tex %.ps %.ps.gz %.bbl
+%.gz: %
+ gzip < $< > $@
+
%.ps: %.dvi
dvips -f < $< > $@