Journaling/Journalling Zine/Makefile

20 lines
666 B
Makefile
Raw Normal View History

# TEXFILES = zine.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 zine.tex glossary.tex glossary-defs.tex why-journal.tex
CLEANFILES = *.dvi *.log *.aux *.lof *.lot *.toc *.png *.ps *.acn *.acr *.alg *.glo *.glsdefs *.ist *.glg *.gls
clean:
rm $(CLEANFILES)
echo "Nothing to clean"
zine.dvi: $(TEXFILES)
latex zine
makeglossaries zine
latex zine
zine-graphics.pdf: zine.dvi
dvipng -D 300 -T bbox zine.dvi -o"zine%03d.png"
find *.png -exec mogrify -shave 250x250 \{\} \;
convert *.png zine-graphics.pdf
zine.pdf: zine.dvi
dvipdf.sh zine