|
@@ -0,0 +1,24 @@
|
|
|
+CORE_PLAYBOOKS := bard.pdf cleric.pdf druid.pdf fighter.pdf paladin.pdf ranger.pdf thief.pdf wizard.pdf
|
|
|
+INVERSE_PLAYBOOKS := collector.pdf lanternbearer.pdf survivor.pdf
|
|
|
+EXTENDED_PLAYBOOKS := priest.pdf artificer.pdf witch.pdf mage.pdf
|
|
|
+
|
|
|
+core-playbooks.pdf: $(CORE_PLAYBOOKS)
|
|
|
+ pdfunite $^ $@
|
|
|
+
|
|
|
+inverse-playbooks.pdf: $(INVERSE_PLAYBOOKS)
|
|
|
+ pdfunite $^ $@
|
|
|
+
|
|
|
+extended-playbooks.pdf: $(EXTENDED_PLAYBOOKS)
|
|
|
+ pdfunite $^ $@
|
|
|
+
|
|
|
+chalcedony.pdf: travelrules.pdf core-playbooks.pdf inverse-playbooks.pdf extended-playbooks.pdf
|
|
|
+ pdfunite $^ $@
|
|
|
+
|
|
|
+%.pdf: %.tex assets/prelude.tex
|
|
|
+ $(eval TMPDIR := $(shell mktemp -d))
|
|
|
+ xelatex -halt-on-error -interaction=batchmode -output-directory=$(TMPDIR) $<
|
|
|
+ mv $(TMPDIR)/$@ $@
|
|
|
+ rm -rf $(TMPDIR)
|
|
|
+
|
|
|
+clean:
|
|
|
+ rm -f *.pdf
|