X-Git-Url: https://git.distorted.org.uk/~mdw/dnd/blobdiff_plain/7656247b22c7e2e1c7683eb708900cd367f706b3..HEAD:/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]