From e68f45b48b7197cb933a5ed93745277bc6f8c192 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 31 May 2013 17:58:38 +0200 Subject: [PATCH] Make init.elc from init.el --- emacs/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/emacs/Makefile b/emacs/Makefile index 51d9c84..e641477 100644 --- a/emacs/Makefile +++ b/emacs/Makefile @@ -11,9 +11,12 @@ EMACS=emacs include ../dotfiles2.mk -install: init.el +install: init.elc init.el: init.org $(EMACS) -Q -batch \ -eval "(progn (require 'org) (require 'ob-tangle) \ (org-babel-tangle-file \"$^\"))" + +init.elc: init.el + $(EMACS) -Q -batch -eval "(byte-compile-file \"init.el\")"