diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-04-17 00:56:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-06 21:30:22 +0100 |
| commit | 4a3776a7bfe08178b1327aa90cbe3e7bd1f72c28 (patch) | |
| tree | 20279e3d02d2e7ffdb61ad45c60da8d051b0afa1 | |
| parent | defb05b6dac42b1f29d7a79bd8975ea9344b9e56 (diff) | |
Add zip making.
| -rw-r--r-- | cards/.gitignore | 3 | ||||
| -rw-r--r-- | cards/Makefile | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/cards/.gitignore b/cards/.gitignore index 2b4e19050..b5d851d19 100644 --- a/cards/.gitignore +++ b/cards/.gitignore @@ -2,3 +2,6 @@ sizing_card_flat sizing_card_scope sizing_card_flat.png sizing_card_scope.png +sizing_card_flat.zip +sizing_card_scope.zip + diff --git a/cards/Makefile b/cards/Makefile index 9183b2ff8..7b257dae5 100644 --- a/cards/Makefile +++ b/cards/Makefile @@ -1,7 +1,10 @@ DCPOMATIC_CREATE := ../run/dcpomatic_create DCPOMATIC_CLI := ../run/dcpomatic_cli -all: sizing_card_flat sizing_card_scope +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 |
