diff --git a/.emacs.d/Makefile b/.emacs.d/Makefile index 0c716a8..fc17095 100644 --- a/.emacs.d/Makefile +++ b/.emacs.d/Makefile @@ -1,5 +1,11 @@ DESTDIR:=$(DESTDIR)/.emacs.d -objects=init.elc init.el gnus.elc gnus.el +objects=init.elc init.el gnus.elc gnus.el init2.elc init2.el modules=eshell site-lisp snippets +EMACS=emacs + include ../dotfiles.mk + +init2.el: init.org + $(EMACS) -Q -batch \ + -eval "(progn (require 'org) (require 'ob-tangle) (org-babel-tangle-file \"$^\"))"