diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-17 00:32:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-10 23:43:42 +0100 |
| commit | 085f2c014738bf334019c6884454c773becbe79b (patch) | |
| tree | d8ada65493e97a35e99493b9245cb7634f1bf8d6 /cards | |
| parent | cb846a4b870c496cb11d4e64479241384ee8dd63 (diff) | |
Tweak Makefile to use locally-built DoM.
Diffstat (limited to 'cards')
| -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 $@ $< |
