aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/Makefile11
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