diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-09 23:24:50 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-09 23:28:27 -0700 |
commit | fe46aafabf79d4b468209c487c153a0637c153ee (patch) | |
tree | 4a8b0cd86281642bb80a0e053c48e0a5371db1d3 /emacs/Makefile | |
parent | 7460b62ee07ae3a14530ab97022b8f2186e4a7b1 (diff) | |
download | consfigurator-fe46aafabf79d4b468209c487c153a0637c153ee.tar.gz |
build and install consfigurator.el
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'emacs/Makefile')
-rw-r--r-- | emacs/Makefile | 6 |
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 |