From bb4e63f975a8d63bc5499afcde7cec6b610a0820 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 14 May 2007 18:12:05 +0100 Subject: [PATCH] make ps files --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 355cf45..f0b8948 100644 --- a/Makefile +++ b/Makefile @@ -6,8 +6,11 @@ DOCS = \ LATEX = latex METAPOST = mpost +DVIPS = dvips -all: $(patsubst %,%.dvi,$(DOCS)) graph.1 +all: \ + $(patsubst %,%.ps,$(DOCS)) \ + graph.1 %.1: %.mp $(METAPOST) $^ @@ -16,5 +19,8 @@ all: $(patsubst %,%.dvi,$(DOCS)) graph.1 $(LATEX) $^ $(LATEX) $^ +%.ps: %.dvi + $(DVIPS) -o $@ $^ + clean: rm -f *.dvi *.ps *.log *.aux *.[1-9] -- 2.11.0