19 lines
521 B
Makefile
19 lines
521 B
Makefile
TEXFILES = runequest.tex 000-header.tex 900-footer.tex dedication.tex copyleft.tex acknowledgements.tex licenses.tex
|
|
CLEANFILES = *.dvi *.log *.aux *.lof *.lot *.toc *.png
|
|
|
|
clean:
|
|
rm $(CLEANFILES)
|
|
echo "Nothing to clean"
|
|
|
|
runequest.dvi: $(TEXFILES)
|
|
latex runequest.tex
|
|
latex runequest.tex
|
|
|
|
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
|