From 084e40d36508e136f02a138eecd9c926fe44ebf3 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sat, 6 Sep 2008 13:56:16 +0000 Subject: [PATCH] Compress the ext-core docs --- docs/ext-core/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/ext-core/Makefile b/docs/ext-core/Makefile index dfb65b1..55eca3f 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 < $< > $@ -- 1.7.10.4