summaryrefslogtreecommitdiff
path: root/Ich_wollt_ich_waer_ein_Huhn/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-04-14 16:05:26 +0200
committerErich Eckner <git@eckner.net>2017-04-14 16:25:43 +0200
commitfc1ccbaed10713302b1d5a83bfeb22e105e20be5 (patch)
tree575c2fee97fca06d2d5719b000a6f1ae4e87246b /Ich_wollt_ich_waer_ein_Huhn/Makefile
parent91db98cc8d7b4714141c918c1395cf383a02a231 (diff)
downloadMusik-fc1ccbaed10713302b1d5a83bfeb22e105e20be5.tar.xz
Ich_wollt_ich_waer_ein_Huhn neu
Diffstat (limited to 'Ich_wollt_ich_waer_ein_Huhn/Makefile')
-rw-r--r--Ich_wollt_ich_waer_ein_Huhn/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ich_wollt_ich_waer_ein_Huhn/Makefile b/Ich_wollt_ich_waer_ein_Huhn/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Ich_wollt_ich_waer_ein_Huhn/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 $<
+