From c145ffd981a65b0556b25611aeb8064c05f67812 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Dec 2018 23:23:06 -0500 Subject: [emacs][wip] hack together a bootstrap path --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3b3a23f --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +EMACS ?= emacs +EMACS_ARGUMENTS ?= -Q + +.PHONY: all help clean build build-init quick bootstrap +.FORCE: + +tangle-init: init.el +init.el: init.org + @$(EMACS) $(EMACS_ARGUMENTS) \ + --batch --load org \ + --eval '(org-babel-tangle-file "init.org")' 2>&1 + +build-init: + @rm -f init.elc + @$(EMACS) $(EMACS_ARGUMENTS) \ + --batch -l init.el --eval '(a/build-init)' 2>&1 + +ti: tangle-init +bi: build-init -- cgit v1.2.3-60-g2f50