summaryrefslogtreecommitdiff
path: root/Ehre_sei_Gott_in_der_Hoehe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Ehre_sei_Gott_in_der_Hoehe/Makefile')
-rw-r--r--Ehre_sei_Gott_in_der_Hoehe/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Ehre_sei_Gott_in_der_Hoehe/Makefile b/Ehre_sei_Gott_in_der_Hoehe/Makefile
index ef6dedf..0904383 100644
--- a/Ehre_sei_Gott_in_der_Hoehe/Makefile
+++ b/Ehre_sei_Gott_in_der_Hoehe/Makefile
@@ -7,6 +7,12 @@ else
# \#(set-global-staff-size 14)
endif
+ifeq ($(MIT_CHORAL),1)
+ WSIDE=s/^%Wside%//
+else
+ WSIDE=/^%Wside%/d
+endif
+
all: $(CURDOC).pdf
clean:
@@ -16,8 +22,11 @@ Clean: clean
rm -f *.pdf *.midi
%.pre: %.ly
- sed "s@%spezifisch%@$(SPEZIFISCH)@" "$<" > "$@"
+ sed " \
+ s@%spezifisch%@$(SPEZIFISCH)@; \
+ $(WSIDE) \
+ " "$<" > "$@"
-%.pdf: %.pre *.ly
+%.pdf: %.pre stimmen.pre texte.pre
lilypond $<