Browse code

Merge branch 'master' of gitorious.org:freie-software-handouts/freie-software-handouts

Michael F. Schönitzer authored on10/09/2014 15:21:22
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,11 @@
1
+
2
+LAYERS=$(patsubst tmp/%-front.pdf, %, $(wildcard tmp/*-front.pdf))
3
+
4
+all: $(LAYERS)
5
+
6
+%:: tmp/%-front.pdf tmp/%-back.pdf
7
+	pdftk A="tmp/$(*F)-front.pdf" B="tmp/$(*F)-back.pdf" cat AW BW output "pdf/$(*F).pdf"
8
+
9
+clean:
10
+	rm pdf/*.pdf
11
+