aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/GNUmakefile
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-19 21:01:01 +0200
committerGravatar Tom Willemse2016-10-19 21:01:01 +0200
commit7f5546870c6a5fd7a933fc24d7b76238700cbb4e (patch)
tree5f1a2db5482bd793eb1d16739a7d7f8cfb865486 /emacs/.emacs.d/GNUmakefile
parentb49b0f4ec57f681594e0cd5277ce141758d4a94e (diff)
downloadnew-dotfiles-7f5546870c6a5fd7a933fc24d7b76238700cbb4e.tar.gz
new-dotfiles-7f5546870c6a5fd7a933fc24d7b76238700cbb4e.zip
Compile site lisps before main init
This stops Emacs complaining that some file is newer when the main config depends on it. I don’t add a make dependency between them because init.el doesn’t need to be recompiled when normal elisp files are changed. Only when macros are involved.
Diffstat (limited to 'emacs/.emacs.d/GNUmakefile')
-rw-r--r--emacs/.emacs.d/GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/GNUmakefile b/emacs/.emacs.d/GNUmakefile
index 799be57..0288d09 100644
--- a/emacs/.emacs.d/GNUmakefile
+++ b/emacs/.emacs.d/GNUmakefile
@@ -5,7 +5,7 @@ UNWANTED = $(AUTOLOADS_FILE) site-lisp/flycheck_% site-lisp/flycheck-%
SITE_LISPS = $(addsuffix c,$(filter-out $(UNWANTED),$(wildcard site-lisp/*.el)))
INIT_LISPS = $(addsuffix .elc,$(basename $(wildcard init/*.org)))
-all: init.elc $(INIT_LISPS) $(AUTOLOADS_FILE) $(SITE_LISPS)
+all: $(SITE_LISPS) init.elc $(AUTOLOADS_FILE)
%.el: %.org
$(call tangle,emacs-lisp)