aboutsummaryrefslogtreecommitdiff
path: root/emacs/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/Makefile.am')
-rw-r--r--emacs/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/emacs/Makefile.am b/emacs/Makefile.am
index d3cdcf2..85084df 100644
--- a/emacs/Makefile.am
+++ b/emacs/Makefile.am
@@ -1 +1,10 @@
-dist_lisp_DATA = skribe.el
+EXTRA_DIST = skribe.el.in
+lisp_DATA = skribe.el
+
+CLEANFILES = $(lisp_DATA)
+
+include $(top_srcdir)/substitute.am
+
+.in:
+ $(substitute) "$^" > "$@.tmp" && \
+ mv "$@.tmp" "$@"