diff options
author | Erich Eckner <git@eckner.net> | 2019-06-06 11:43:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-06-06 11:43:56 +0200 |
commit | 8771cadaafbd24eaac56443d5fdc76bac0b24e61 (patch) | |
tree | 827082d0df3c4d5ca04094e9ee51b974711e8eb7 /Komm_Gott_Schoepfer_Heiliger_Geist/Makefile | |
parent | a63b99e5f70ad78a7f549f3de2db1b01b89c3d47 (diff) | |
download | Musik-8771cadaafbd24eaac56443d5fdc76bac0b24e61.tar.xz |
Komm_Gott_Schoepfer_Heiliger_Geist neu (die richtige Melodie gibt's an der Kasse)
Diffstat (limited to 'Komm_Gott_Schoepfer_Heiliger_Geist/Makefile')
-rw-r--r-- | Komm_Gott_Schoepfer_Heiliger_Geist/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Komm_Gott_Schoepfer_Heiliger_Geist/Makefile b/Komm_Gott_Schoepfer_Heiliger_Geist/Makefile new file mode 100644 index 0000000..ec7558b --- /dev/null +++ b/Komm_Gott_Schoepfer_Heiliger_Geist/Makefile @@ -0,0 +1,40 @@ +CURDOC=$(shell basename "$(CURDIR)") +STROPHEN=[1-7] + +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 ($(UNTERSTIMMEN),1) + UNTERSTIMMEN_REGEX=s@%unterstimme%@@ +else + UNTERSTIMMEN_REGEX= +endif + +all: $(CURDOC).pdf + +clean: + rm -f *.pre + +Clean: clean + rm -f *.pdf *.midi + +%.pre: %.ly + sed " \ + s@%spezifisch%@$(SPEZIFISCH)@ ; \ + s@%spezifisch%@$(SPEZIFISCH)@ ; \ + $(UNTERSTIMMEN_REGEX); \ + /%STR_\($(STROPHEN)\)%/{ \ + s/%[A-Z_0-9]\+%//; \ + p; \ + d; \ + }; \ + /%[A-Z_0-9]\+%/d \ + " "$<" > "$@" + +%.pdf: %.pre *.ly + lilypond $< + |