diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-17 00:32:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-06 21:30:22 +0100 |
| commit | defb05b6dac42b1f29d7a79bd8975ea9344b9e56 (patch) | |
| tree | 7df90e20c27f4a95d409149f2f7166aafb7913e0 | |
| parent | c35dcb2a27873b775a59aa990ff6fe253be41b10 (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 $@ $< |
