summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@etraveli.com>2017-05-10 10:50:57 +0200
committerGustav Eek <gustav.eek@etraveli.com>2018-04-24 18:10:04 +0200
commit621ef4a98b868b65c7036cee655e77a12874bdb5 (patch)
tree5441fbd1d5bea168bd0327311b8a25e1dfb383e5
parentc40015ff682e8a35652237b5e676f48089c3a2b8 (diff)
May day flier made two sided
To ease printing (asked for by e.g. LJO) the flier is made two sided: only *Makefile* configuration changes needed.
-rw-r--r--flyers/mayday/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/flyers/mayday/Makefile b/flyers/mayday/Makefile
index 5045f79..b3bc8bd 100644
--- a/flyers/mayday/Makefile
+++ b/flyers/mayday/Makefile
@@ -1,6 +1,11 @@
SHELL=/bin/bash
-fripost-mayday-flyer.pdf: master.tex preamble.tex frontside.tex backside.tex
+all: fripost-mayday-flyer.pdf
+
+fripost-mayday-flyer.pdf: fripost-mayday-flyer-single.pdf
+ pdftk $< cat 1 1 output $@
+
+fripost-mayday-flyer-single.pdf: master.tex preamble.tex frontside.tex backside.tex
latex_count=5 ;\
latex_log=$$(echo $< | sed 's/.tex/.log/') ;\
pdflatex $< ;\