diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-11-03 13:46:57 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-11-03 13:46:57 -0500 |
| commit | 02f687dfa6dad97fea7bbbb0846d36d8f83bdcaa (patch) | |
| tree | aa1ebb76ab5098bbe03a01528afef76476a5f35f /Makefile | |
| parent | a71c03f902bce904f68b506b72b0a8058b35c58d (diff) | |
add preamble
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,8 +1,11 @@ .POSIX: OUTPUTS=text.m4 html.m4 -m4n: m4n.sh add_output.sh $(OUTPUTS) +COMMON=pre.m4 + +m4n: m4n.sh add_output.sh $(OUTPUTS) pre.m4 printf '#!/bin/sh\nset -e\n\n' > $@ + for m4 in $(COMMON); do /bin/sh ./add_common.sh $$m4; done >> $@ for m4 in $(OUTPUTS); do /bin/sh ./add_output.sh $$m4; done >> $@ cat m4n.sh >> $@ chmod +x $@ |
