From fe46aafabf79d4b468209c487c153a0637c153ee Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 9 Mar 2021 23:24:50 -0700 Subject: build and install consfigurator.el Signed-off-by: Sean Whitton --- emacs/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 emacs/Makefile (limited to 'emacs/Makefile') 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/, ) } \ + s/ \@putforms@/$$forms/' + +consfigurator.el: consfigurator.el.in put-forms.el + perl -wpe$(SUBSTITUTE) consfigurator.el.in >consfigurator.el -- cgit v1.2.3