summaryrefslogtreecommitdiff
path: root/Im_Fruehling
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-15 10:27:46 +0200
committerErich Eckner <git@eckner.net>2017-06-15 10:27:46 +0200
commit7528f6231d58bd46f4a6da8b671d53a3e539cadd (patch)
treea8ec9ed45bfbc9d7c76bbe0a1c4a970009072c86 /Im_Fruehling
parenta4b62a40f1668ee59c06966c62a759356565df25 (diff)
downloadMusik-7528f6231d58bd46f4a6da8b671d53a3e539cadd.tar.xz
Im_Fruehling: Makefile neu
Diffstat (limited to 'Im_Fruehling')
-rw-r--r--Im_Fruehling/Im_Fruehling.ly23
-rw-r--r--Im_Fruehling/Makefile23
2 files changed, 37 insertions, 9 deletions
diff --git a/Im_Fruehling/Im_Fruehling.ly b/Im_Fruehling/Im_Fruehling.ly
index ba91d02..f79ece4 100644
--- a/Im_Fruehling/Im_Fruehling.ly
+++ b/Im_Fruehling/Im_Fruehling.ly
@@ -1,9 +1,10 @@
\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%
\pointAndClickOff
@@ -12,18 +13,22 @@
}
\paper {
top-margin = 5
+ print-all-headers = ##t
}
\score {
+ \header {
+ title = "Im Frühling"
+ composer = "Melodie: Wolfgang Amadeus Mozart"
+ tagline = ""
+ }
\new ChoirStaff <<
\set Score.skipBars = ##t
- \new Staff {
- <<
- \new Voice = pFrauen { \global \pausen }
- \new Voice = sopran { \global \voiceOne \sopranMelodie }
- \new Voice = alt { \global \voiceTwo \altMelodie }
- >>
- }
+ \new Staff <<
+ \new Voice = pFrauen { \global \pausen }
+ \new Voice = sopran { \global \voiceOne \sopranMelodie }
+ \new Voice = alt { \global \voiceTwo \altMelodie }
+ >>
\new Lyrics \lyricsto sopran { \textI }
\new Lyrics \lyricsto sopran { \textII }
\new Lyrics \lyricsto sopran { \textIII }
diff --git a/Im_Fruehling/Makefile b/Im_Fruehling/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Im_Fruehling/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 $<
+