summaryrefslogtreecommitdiffstats
path: root/.emacs.d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/Makefile')
-rw-r--r--.emacs.d/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/Makefile b/.emacs.d/Makefile
index 17db788..616136b 100644
--- a/.emacs.d/Makefile
+++ b/.emacs.d/Makefile
@@ -1,9 +1,13 @@
.PHONY: all site-lisp
-all: init.elc site-lisp/
+all: init2.elc init.elc site-lisp/
%.elc: %.el
emacs -Q -batch -eval "(byte-compile-file \"$<\")"
+init.el: init2.el
+init2.el: init.org
+ emacs -Q -batch -l "ob-tangle" -eval "(org-babel-tangle-file \"init.org\")"
+
%/: %
$(MAKE) -C "$(CURDIR)/$*"