From 34cd2a876d1371e6e22b2a7288fc2159a67cc267 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 22 Dec 2014 01:39:55 -0500 Subject: [PATCH] Remove make compile (more reliable from within emacs) --- Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 6fd6d2a9e..3db645efa 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,11 @@ EMACS=emacs -all: clean compile +all: clean autoloads clean: - @rm -rf init.elc init/*.elc elisp/*.elc - @rm -rf auto-save-list recentf places ido.last async-bytecomp.log + @rm -rf init.elc init/*.elc elisp/*.elc core/*.elc + @rm -rf auto-save-list recentf places ido.last async-bytecomp.log elpa -compile: - ${EMACS} -Q --batch -L . -f batch-byte-compile init.el init/*.el elisp/*.el - @rm -rf init/autoload.* - ${EMACS} -Q --batch -L . -f update-directory-autoloads init elisp +autoloads: + @rm -rf core/autoloads.el + @cask exec ${EMACS} -Q --batch --eval '(progn (setq generated-autoload-file "~/.emacs.d/core/autoloads.el") (update-directory-autoloads "~/.emacs.d/init" "~/.emacs.d/core" "~/.emacs.d/elisp"))'