From: Mark Wooding Date: Mon, 14 May 2007 17:12:05 +0000 (+0100) Subject: make ps files X-Git-Url: https://git.distorted.org.uk/~mdw/dnd/commitdiff_plain/bb4e63f975a8d63bc5499afcde7cec6b610a0820?hp=1d95e60155e23bb92dec0fb7100fe37d06627992 make ps files --- 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]