chiark
/
gitweb
/
~ian
/
pandemic-rising-tide.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63ef611
)
generalise ps2pdf call
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Mar 2019 16:49:01 +0000
(16:49 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Thu, 7 Mar 2019 16:49:01 +0000
(16:49 +0000)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 49ecb69cd40b35d505d166464826f7d0945d5d6a..e892d3bcf9ed3bb5606c30d979b67fb0f719917c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,6
+15,9
@@
USE_PLAG_RELEASE := $(shell ./find-plag \
# works with plag-mangle 16446a44d3f1f467765879492fa85a01222f8052
+PS2PDF ?= ps2pdf
+PS2PDF_FLAGS ?=
+
export PERL_HASH_SEED=1
export PERL_PERTURB_KEYS=0
@@
-43,8
+46,10
@@
BOARDFILES= \
all: $(addsuffix .ps, $(BOARDFILES))
-cmyk.pdf: cmyk.ps Makefile
- ps2pdf -dAutoRotatePages=/None cmyk.ps $@.tmp && $i
+%.pdf: %.ps Makefile
+ $(PS2PDF) $(PS2PDF_FLAGS) $< $@.tmp && $i
+
+cmyk.pdf: PS2PDF_FLAGS += -dAutoRotatePages=/None
map.plag: generate-plag input-graph Parse.pm
./$< input-graph $o