summaryrefslogtreecommitdiff
path: root/Singet_froh/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-15 08:54:53 +0200
committerErich Eckner <git@eckner.net>2017-06-15 08:54:53 +0200
commit2c30cc377f3742b65b5156ea6ce4765f38e08bea (patch)
treec40adc7431b8b156a334f69ef330c14d93b1673c /Singet_froh/Makefile
parentbcb7c7137cff7c6fe8c00105ee83108028e62b2a (diff)
downloadMusik-2c30cc377f3742b65b5156ea6ce4765f38e08bea.tar.xz
Singet_froh: Dateien angepasst, Komponist und Dichter eingefügt
Diffstat (limited to 'Singet_froh/Makefile')
-rw-r--r--Singet_froh/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Singet_froh/Makefile b/Singet_froh/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Singet_froh/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 $<
+