|
@@ -1,7 +1,7 @@
|
|
|
-CORE_PLAYBOOKS := bard.pdf cleric.pdf druid.pdf fighter.pdf paladin.pdf ranger.pdf thief.pdf wizard.pdf
|
|
|
-INVERSE_PLAYBOOKS := collector.pdf golem.pdf lanternbearer.pdf survivor.pdf
|
|
|
-EXTENDED_PLAYBOOKS := priest.pdf artificer.pdf witch.pdf mage.pdf
|
|
|
-CUSTOM_PLAYBOOKS := farmer.pdf merchant.pdf
|
|
|
+CORE_PLAYBOOKS := base/bard.pdf base/cleric.pdf base/druid.pdf base/fighter.pdf base/paladin.pdf base/ranger.pdf base/thief.pdf base/wizard.pdf
|
|
|
+INVERSE_PLAYBOOKS := inverse/collector.pdf inverse/golem.pdf inverse/lanternbearer.pdf inverse/survivor.pdf
|
|
|
+EXTENDED_PLAYBOOKS := extended/priest.pdf extended/artificer.pdf extended/witch.pdf extended/mage.pdf
|
|
|
+CUSTOM_PLAYBOOKS := custom/farmer.pdf custom/merchant.pdf
|
|
|
|
|
|
chalcedony.pdf: travelrules.pdf core-playbooks.pdf inverse-playbooks.pdf extended-playbooks.pdf
|
|
|
@echo "\033[0;95m[PDFUNITE]\033[0m $@"
|
|
@@ -27,8 +27,8 @@ custom-playbooks.pdf: $(CUSTOM_PLAYBOOKS)
|
|
|
$(eval TMPDIR := $(shell mktemp -d))
|
|
|
@echo "\033[0;94m[XELATEX]\033[0m $@"
|
|
|
@xelatex -interaction=nonstopmode -output-directory=$(TMPDIR) $< >$(TMPDIR)/log.txt 2>&1 || ( cat $(TMPDIR)/log.txt >&2; exit 1 )
|
|
|
- @mv $(TMPDIR)/$@ $@
|
|
|
+ @mv $(TMPDIR)/`basename $@` $@
|
|
|
@rm -rf $(TMPDIR)
|
|
|
|
|
|
clean:
|
|
|
- rm -f *.pdf
|
|
|
+ rm -f *.pdf */*.pdf
|