summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2020-11-03 13:30:52 -0500
committerJakob Kaivo <jkk@ung.org>2020-11-03 13:30:52 -0500
commita71c03f902bce904f68b506b72b0a8058b35c58d (patch)
tree42170b551f06e59dbae98acae8534d5117c8fca6 /Makefile
parent2ef390db7423c9acafba7bd9ed482285c2d04023 (diff)
initial draft with support for text and html output
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4c0e7af
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+.POSIX:
+
+OUTPUTS=text.m4 html.m4
+m4n: m4n.sh add_output.sh $(OUTPUTS)
+ printf '#!/bin/sh\nset -e\n\n' > $@
+ for m4 in $(OUTPUTS); do /bin/sh ./add_output.sh $$m4; done >> $@
+ cat m4n.sh >> $@
+ chmod +x $@