TEXFILES = runequest.tex 000-header.tex 900-footer.tex dedication.tex copyleft.tex acknowledgements.tex licenses.tex introduction.tex license-texts.tex about-characters.tex character-creation.tex character-information.tex BIBFILES = mybiblio.bib CLEANFILES = *.dvi *.log *.aux *.lof *.lot *.toc *.png clean: rm $(CLEANFILES) echo "Nothing to clean" runequest.bbl: $(BIBFILES) biber runequest biber runequest runequest.dvi: $(TEXFILES) runequest.bbl latex runequest latex runequest runequest.pdf: runequest.dvi dvipdf.sh runequest runequest-graphics.pdf: runequest.dvi dvipng -D 300 -T bbox runequest.dvi -o"runequest%03d.png" find *.png -exec mogrify -shave 250x250 \{\} \; convert *.png runequest.pdf