aboutsummaryrefslogtreecommitdiff
path: root/emacs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/Makefile')
-rw-r--r--emacs/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/Makefile b/emacs/Makefile
new file mode 100644
index 0000000..1c29533
--- /dev/null
+++ b/emacs/Makefile
@@ -0,0 +1,6 @@
+SUBSTITUTE = 'BEGIN { open FH, "<", "put-forms.el"; \
+ chomp($$forms = join "", map s/^/ /r, grep /^\(put/, <FH>) } \
+ s/ \@putforms@/$$forms/'
+
+consfigurator.el: consfigurator.el.in put-forms.el
+ perl -wpe$(SUBSTITUTE) consfigurator.el.in >consfigurator.el