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 4d4f681..c4ce570 100644
--- a/.emacs.d/Makefile
+++ b/.emacs.d/Makefile
@@ -1,9 +1,13 @@
.PHONY: all site-lisp
-all: init.elc gnus.elc site-lisp/
+all: init2.elc init.elc site-lisp/
%.elc: %.el
emacs -Q -batch -eval "(byte-compile-file \"$<\")"
+init2.el: init.org
+ emacs -Q -batch -l org -l ob-tangle \
+ -eval "(org-babel-tangle-file \"$^\")"
+
%/: %
$(MAKE) -C "$(CURDIR)/$*"