summaryrefslogtreecommitdiff
path: root/Geh_aus_mein_Herz/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-16 13:16:50 +0200
committerErich Eckner <git@eckner.net>2017-06-16 13:16:50 +0200
commit4958cc9aa74e447227cdbe5c7b44047f98af4cb9 (patch)
treeca09de17d5f71f2bb7454937e690d0d90f17ce05 /Geh_aus_mein_Herz/Makefile
parentfa812c67dfbe618ec149863bf3e7b43d827e04c6 (diff)
downloadMusik-4958cc9aa74e447227cdbe5c7b44047f98af4cb9.tar.xz
Geh_aus_mein_Herz: Makefile neu, mehr Strophen
Diffstat (limited to 'Geh_aus_mein_Herz/Makefile')
-rw-r--r--Geh_aus_mein_Herz/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Geh_aus_mein_Herz/Makefile b/Geh_aus_mein_Herz/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Geh_aus_mein_Herz/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 $<
+