summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Als_die_Welt_verloren/Als_die_Welt_verloren.ly9
-rw-r--r--Als_die_Welt_verloren/Makefile23
2 files changed, 29 insertions, 3 deletions
diff --git a/Als_die_Welt_verloren/Als_die_Welt_verloren.ly b/Als_die_Welt_verloren/Als_die_Welt_verloren.ly
index 0b6a84f..e7e63e3 100644
--- a/Als_die_Welt_verloren/Als_die_Welt_verloren.ly
+++ b/Als_die_Welt_verloren/Als_die_Welt_verloren.ly
@@ -1,21 +1,24 @@
\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
\header {
tagline = ""
- title = "Als die Welt verloren"
}
\paper {
top-margin = 5
}
\score {
+ \header {
+ title = "Als die Welt verloren"
+ }
\layout {
indent = #0
\context {
diff --git a/Als_die_Welt_verloren/Makefile b/Als_die_Welt_verloren/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Als_die_Welt_verloren/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 $<
+