# TEXFILES = basic-roleplaying.tex 000-header.tex 900-footer.tex dedication.tex copyleft.tex acknowledements.tex aboutbrp.tex discovery.tex setup-cm.tex TEXFILES = 000-header.tex 900-footer.tex aboutbrp.tex acknowledgements.tex basic-roleplaying.tex copyleft.tex dedication.tex discovery.tex glossary.tex what-it-is.tex what-we-wanted.tex CLEANFILES = *.dvi *.log *.aux *.lof *.lot *.toc *.png *.ps *.acn *.acr *.alg *.glo *.glsdefs *.ist clean: rm $(CLEANFILES) echo "Nothing to clean" basic-roleplaying.dvi: $(TEXFILES) latex basic-roleplaying makeglossaries basic-roleplaying latex basic-roleplaying basic-roleplaying-graphics.pdf: basic-roleplaying.dvi dvipng -D 300 -T bbox basic-roleplaying.dvi -o"basic-roleplaying%03d.png" find *.png -exec mogrify -shave 250x250 \{\} \; convert *.png basic-roleplaying-graphics.pdf basic-roleplaying.pdf: basic-roleplaying.dvi dvipdf.sh basic-roleplaying