summaryrefslogtreecommitdiff
path: root/Die_Botschaft
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-18 07:57:49 +0200
committerErich Eckner <git@eckner.net>2018-09-18 07:57:49 +0200
commit9ea4a39562ce4daad644bf84fd1967c510068c6c (patch)
tree2f204fdd309a65bbd7c64e49cc6cf680a2ea51f7 /Die_Botschaft
parent564f06d327bd3ed4c8902effc28e9a294cc7fe11 (diff)
downloadMusik-9ea4a39562ce4daad644bf84fd1967c510068c6c.tar.xz
Die_Botschaft: Makefile neu
Diffstat (limited to 'Die_Botschaft')
-rw-r--r--Die_Botschaft/Die_Botschaft.ly16
-rw-r--r--Die_Botschaft/Makefile38
2 files changed, 49 insertions, 5 deletions
diff --git a/Die_Botschaft/Die_Botschaft.ly b/Die_Botschaft/Die_Botschaft.ly
index 7dad744..2d1b3a4 100644
--- a/Die_Botschaft/Die_Botschaft.ly
+++ b/Die_Botschaft/Die_Botschaft.ly
@@ -1,23 +1,29 @@
\include "deutsch.ly"
+#(ly:set-option 'relative-includes #t)
\include "stimmen.ly"
\include "texte.ly"
+#(ly:set-option 'relative-includes #f)
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+%spezifisch%
+
+\version "2.19.80"
\pointAndClickOff
\header {
- title = "Die Botschaft"
- poet = "deutsche Fassung: Ludwig Schuster"
- composer = "Satz: Friedrich Zipp"
tagline = ""
}
\paper {
top-margin = 5
+ print-all-headers = ##t
}
\score {
+ \header {
+ title = "Die Botschaft"
+ poet = "deutsche Fassung: Ludwig Schuster"
+ composer = "Satz: Friedrich Zipp"
+ }
\new ChoirStaff <<
\set Score.skipBars = ##t
\new Staff <<
diff --git a/Die_Botschaft/Makefile b/Die_Botschaft/Makefile
new file mode 100644
index 0000000..8cdc1e0
--- /dev/null
+++ b/Die_Botschaft/Makefile
@@ -0,0 +1,38 @@
+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
+
+ifeq ($(MIDI),1)
+ MIDI_REGEX=
+else
+ MIDI_REGEX=/\\\\midi/{ :a; s/\\\\midi[^{}]*{/\\\\midi/; tb; N; ba; :b; s/{[^{}]*}//; tb; s/\\\\midi[^{}]*}//; t; N; bb; };
+endif
+
+ifeq ($(KLAVIER),1)
+ KLAVIER_REGEX=
+else
+ KLAVIER_REGEX=/%Klavier%/d;
+endif
+
+all: $(CURDOC).pdf
+
+clean:
+ rm -f *.pre
+
+Clean: clean
+ rm -f *.pdf *.midi
+
+%.pre: %.ly
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@ ; \
+ $(KLAVIER_REGEX) \
+ $(MIDI_REGEX) \
+ " "$<" > "$@"
+
+%.pdf: %.pre *.ly
+ lilypond $<