summaryrefslogtreecommitdiff
path: root/Weihnachtsmotette/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Weihnachtsmotette/Makefile')
-rw-r--r--Weihnachtsmotette/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Weihnachtsmotette/Makefile b/Weihnachtsmotette/Makefile
index e40fa09..dbe7f79 100644
--- a/Weihnachtsmotette/Makefile
+++ b/Weihnachtsmotette/Makefile
@@ -15,8 +15,10 @@ include ../.meta/*.mk
%.pre: %.ly
cat "$<" > "$@"
-%.post: %.pre $(patsubst %.ly,%.pre, $(shell find . -name '*.ly'))
- m4 <"$<" >"$@"
+%.post: %.pre $(patsubst %.ly,%.pre, $(shell find . -name '*.ly')) ../.meta/header.ly
+ cat ../.meta/header.ly "$<" \
+ |m4 \
+ >"$@"
%.pdf: %.post
lilypond $<