summaryrefslogtreecommitdiff
path: root/Sommerpsalm/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-05-12 13:03:07 +0200
committerErich Eckner <git@eckner.net>2017-05-12 13:03:07 +0200
commitc402f274729a201d1baa6658bd57bfe195d6138e (patch)
tree70fd1f2351a05eff19b45c95e3b9c2eb56ea8416 /Sommerpsalm/Makefile
parentf52987d6b63ad947595ef29177e3bacef1d7edbc (diff)
downloadMusik-c402f274729a201d1baa6658bd57bfe195d6138e.tar.xz
Sommerpsalm neu
Diffstat (limited to 'Sommerpsalm/Makefile')
-rw-r--r--Sommerpsalm/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Sommerpsalm/Makefile b/Sommerpsalm/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Sommerpsalm/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 $<
+