From 2e1c18fcdbe156c3983265df7f3f73544509ea7b Mon Sep 17 00:00:00 2001 From: Jigme Datse Yli-Rasku Date: Mon, 11 Nov 2024 12:32:57 -0800 Subject: [PATCH] Makefile This is the Makefile, but not sure if this has a prior version. No it does not. --- basic-roleplaying/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 basic-roleplaying/Makefile diff --git a/basic-roleplaying/Makefile b/basic-roleplaying/Makefile new file mode 100644 index 0000000..c9defe1 --- /dev/null +++ b/basic-roleplaying/Makefile @@ -0,0 +1,20 @@ +# 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