summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lob_singet_Gott_dem_Herrn/Lob_singet_Gott_dem_Herrn.ly3
-rw-r--r--Lob_singet_Gott_dem_Herrn/Makefile23
2 files changed, 24 insertions, 2 deletions
diff --git a/Lob_singet_Gott_dem_Herrn/Lob_singet_Gott_dem_Herrn.ly b/Lob_singet_Gott_dem_Herrn/Lob_singet_Gott_dem_Herrn.ly
index fdcda19..639187a 100644
--- a/Lob_singet_Gott_dem_Herrn/Lob_singet_Gott_dem_Herrn.ly
+++ b/Lob_singet_Gott_dem_Herrn/Lob_singet_Gott_dem_Herrn.ly
@@ -2,8 +2,7 @@
\include "stimmen.ly"
\include "texte.ly"
-#(set! paper-alist (cons '("kindle" . (cons (* 210 mm) (* 130 mm))) paper-alist))
-#(set-default-paper-size "kindle")
+%spezifisch%
\pointAndClickOff
diff --git a/Lob_singet_Gott_dem_Herrn/Makefile b/Lob_singet_Gott_dem_Herrn/Makefile
new file mode 100644
index 0000000..ef6dedf
--- /dev/null
+++ b/Lob_singet_Gott_dem_Herrn/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 $<
+