summaryrefslogtreecommitdiff
path: root/Die_beste_Zeit_im_Jahr_ist_mein/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-05 10:15:10 +0200
committerErich Eckner <git@eckner.net>2017-05-05 10:15:10 +0200
commitda2f6ecad19f82c2089db1d13d9355533780b49e (patch)
tree3a436fa5eeb55541cf296dde99e8b538624e72c4 /Die_beste_Zeit_im_Jahr_ist_mein/Makefile
parent8e678d6ad18de6ee3449880ecba47bb96d3aa6e1 (diff)
downloadMusik-da2f6ecad19f82c2089db1d13d9355533780b49e.tar.xz
Die_beste_Zeit_im_Jahr_ist_mein: Makefile neu, kleine Aufhuebschungen
Diffstat (limited to 'Die_beste_Zeit_im_Jahr_ist_mein/Makefile')
-rw-r--r--Die_beste_Zeit_im_Jahr_ist_mein/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Die_beste_Zeit_im_Jahr_ist_mein/Makefile b/Die_beste_Zeit_im_Jahr_ist_mein/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Die_beste_Zeit_im_Jahr_ist_mein/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 $<
+