X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/dnd/blobdiff_plain/1d95e60155e23bb92dec0fb7100fe37d06627992..bb4e63f975a8d63bc5499afcde7cec6b610a0820:/Makefile 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]