diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-12 09:34:44 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-03-13 12:51:59 -0700 |
commit | d7367761b2a020efb58c5a706872c97aa3410c95 (patch) | |
tree | 36243148fe023806a19a3318434055f17244056e /emacs | |
parent | 4af924ecc6251b3fb919fcc8bf2e7185072a929c (diff) | |
download | consfigurator-d7367761b2a020efb58c5a706872c97aa3410c95.tar.gz |
build consfigurator.el entirely from Lisp
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/Makefile | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/emacs/Makefile b/emacs/Makefile index 3f9309c..2226d2c 100644 --- a/emacs/Makefile +++ b/emacs/Makefile @@ -2,13 +2,6 @@ LOAD = '(let ((asdf:*user-cache* "/tmp") \ (asdf:*central-registry* (list (truename "..")))) \ (asdf:load-system "consfigurator"))' -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 - -put-forms.el: +consfigurator.el: consfigurator.el.in sbcl --disable-debugger --eval '(require "asdf")' --eval $(LOAD) \ - --eval '(consfigurator::dump-properties-for-emacs "$@")' --quit + --eval '(consfigurator::dump-properties-for-emacs "$<" "$@")' --quit |