summaryrefslogtreecommitdiff
path: root/Friede_mit_euch/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-16 17:42:39 +0200
committerErich Eckner <git@eckner.net>2018-09-16 17:42:39 +0200
commitf6382ba77edbf7e20650d761a6804f2a04a2927d (patch)
treebe6280d7ed28b3adf7a799a74d518332b8b45a56 /Friede_mit_euch/Makefile
parent0db3962d514fd3e55e4092238bb2713e5120c58e (diff)
downloadMusik-f6382ba77edbf7e20650d761a6804f2a04a2927d.tar.xz
Friede_mit_euch: Makefile und Akkorde neu
Diffstat (limited to 'Friede_mit_euch/Makefile')
-rw-r--r--Friede_mit_euch/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Friede_mit_euch/Makefile b/Friede_mit_euch/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Friede_mit_euch/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 $<
+