From a3ea82f733eba7774b5a737a1fbe9f6778735461 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Apr 2019 00:32:32 +0100 Subject: Tweak Makefile to use locally-built DoM. --- cards/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cards/Makefile b/cards/Makefile index 7673de2ea..9183b2ff8 100644 --- a/cards/Makefile +++ b/cards/Makefile @@ -1,16 +1,19 @@ +DCPOMATIC_CREATE := ../run/dcpomatic_create +DCPOMATIC_CLI := ../run/dcpomatic_cli + all: sizing_card_flat sizing_card_scope sizing_card_flat: sizing_card_flat.png rm -rf sizing_card_flat mkdir sizing_card_flat - /usr/bin/dcpomatic2_create --content-ratio 185 $< > $@/metadata.xml - /usr/bin/dcpomatic2_cli $@ + $(DCPOMATIC_CREATE) --content-ratio 185 $(CURDIR)/$< > $(CURDIR)/$@/metadata.xml + $(DCPOMATIC_CLI) $(CURDIR)/$@ sizing_card_scope: sizing_card_scope.png rm -rf sizing_card_scope mkdir sizing_card_scope - /usr/bin/dcpomatic2_create --content-ratio 239 $< > $@/metadata.xml - /usr/bin/dcpomatic2_cli $@ + $(DCPOMATIC_CREATE) --content-ratio 239 $(CURDIR)/$< > $(CURDIR)/$@/metadata.xml + $(DCPOMATIC_CLI) $(CURDIR)/$@ sizing_card_%.png: sizing_card_%.svg inkscape -z -C -e $@ $< -- cgit v1.2.3