diff options
author | 2016-10-19 21:01:01 +0200 | |
---|---|---|
committer | 2016-10-19 21:01:01 +0200 | |
commit | 7f5546870c6a5fd7a933fc24d7b76238700cbb4e (patch) | |
tree | 5f1a2db5482bd793eb1d16739a7d7f8cfb865486 /emacs/.emacs.d/GNUmakefile | |
parent | b49b0f4ec57f681594e0cd5277ce141758d4a94e (diff) | |
download | new-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/GNUmakefile | 2 |
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) |