diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-17 00:32:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-08 23:25:22 +0100 |
| commit | a3ea82f733eba7774b5a737a1fbe9f6778735461 (patch) | |
| tree | 8713fa1c678ea781f70110dec31b6b674ac40034 | |
| parent | ba3ec77e67d79ce7e39c4719c26ab26f85a01470 (diff) | |
Tweak Makefile to use locally-built DoM.
| -rw-r--r-- | cards/Makefile | 11 |
1 files 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 $@ $< |
