X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/dnd/blobdiff_plain/7656247b22c7e2e1c7683eb708900cd367f706b3..81dc3ac56c1b78e2549551901f451d659b67c222:/Makefile diff --git a/Makefile b/Makefile index 355cf45..e2020c7 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,17 @@ DOCS = \ + contents \ rules \ - abilities combat encounters equip misc monsters movement \ + abilities combat encounters equip forts misc monsters movement \ mystic orders planes rules saves spells thief treasure \ undead wandering warmachine weapons LATEX = latex METAPOST = mpost +DVIPS = dvips -all: $(patsubst %,%.dvi,$(DOCS)) graph.1 +all: \ + $(patsubst %,%.ps,$(DOCS)) \ + graph.1 %.1: %.mp $(METAPOST) $^ @@ -16,5 +20,8 @@ all: $(patsubst %,%.dvi,$(DOCS)) graph.1 $(LATEX) $^ $(LATEX) $^ +%.ps: %.dvi + $(DVIPS) -o $@ $^ + clean: rm -f *.dvi *.ps *.log *.aux *.[1-9]