chiark
/
gitweb
/
~mdw
/
dnd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
.gitignore: Also ignore Metapost output.
[dnd]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 355cf45d6f8284752ec6dd07418da8eef8323688..e2020c7858183c285dc578d105208ad1bb0f1494 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,17
@@
DOCS = \
DOCS = \
+ contents \
rules \
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
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) $^
%.1: %.mp
$(METAPOST) $^
@@
-16,5
+20,8
@@
all: $(patsubst %,%.dvi,$(DOCS)) graph.1
$(LATEX) $^
$(LATEX) $^
$(LATEX) $^
$(LATEX) $^
+%.ps: %.dvi
+ $(DVIPS) -o $@ $^
+
clean:
rm -f *.dvi *.ps *.log *.aux *.[1-9]
clean:
rm -f *.dvi *.ps *.log *.aux *.[1-9]