From d60dd0acee45f294e5cbd75611bc59ce8848c6bf Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Thu, 3 Jan 2013 23:57:41 +0100 Subject: [PATCH] Emacs: Tangle init2.el from init.org Eventually it might tangle to init.el, once I finish copying everything. --- .emacs.d/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \"$^\"))"