summaryrefslogtreecommitdiff
path: root/Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-12 22:45:31 +0200
committerErich Eckner <git@eckner.net>2017-10-12 22:46:11 +0200
commit0e85d74a3cb27f272c12bf03f1733d289a704da5 (patch)
tree243b8f3f6f1308841ab8fd2e26bf6365c506fc00 /Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile
parentbac50a89a4c54f4db25af941cfa65491e26bc3d6 (diff)
downloadMusik-0e85d74a3cb27f272c12bf03f1733d289a704da5.tar.xz
Gottes_Wort_ist_wie_Licht_in_der_Nacht neu
Diffstat (limited to 'Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile')
-rw-r--r--Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile b/Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Kanons/Gottes_Wort_ist_wie_Licht_in_der_Nacht/Makefile
@@ -0,0 +1,23 @@
+CURDOC=$(shell basename "$(CURDIR)")
+
+ifeq ($(FUER),ewe)
+ SPEZIFISCH=\#(set! paper-alist (cons '(\"kindle\" . (cons (* 210 mm) (* 130 mm))) paper-alist))\n\#(set-default-paper-size \"kindle\")
+else
+ SPEZIFISCH=
+ # \#(set-global-staff-size 14)
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<
+