projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't fail the transcode job if we can't write analytics.
[dcpomatic.git]
/
cards
/
Makefile
diff --git
a/cards/Makefile
b/cards/Makefile
index 7673de2ea074b0a1f22f7dd3e950661fbe147564..7b257dae51ec99bf592647341a0e31cfad9b5683 100644
(file)
--- a/
cards/Makefile
+++ b/
cards/Makefile
@@
-1,16
+1,22
@@
-all: sizing_card_flat sizing_card_scope
+DCPOMATIC_CREATE := ../run/dcpomatic_create
+DCPOMATIC_CLI := ../run/dcpomatic_cli
+
+all: sizing_card_flat.zip sizing_card_scope.zip
+
+sizing_card_%.zip: sizing_card_%
+ cd $< && zip -9 -r ../$@ SizingCard*
sizing_card_flat: sizing_card_flat.png
rm -rf sizing_card_flat
mkdir sizing_card_flat
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
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 $@ $<
sizing_card_%.png: sizing_card_%.svg
inkscape -z -C -e $@ $<