From d7367761b2a020efb58c5a706872c97aa3410c95 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 12 Mar 2021 09:34:44 -0700 Subject: build consfigurator.el entirely from Lisp Signed-off-by: Sean Whitton --- emacs/Makefile | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'emacs') 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/, ) } \ - 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 -- cgit v1.2.3