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.
This commit is contained in:
Tom Willemse 2016-10-19 21:01:01 +02:00
parent b49b0f4ec5
commit 7f5546870c

View file

@ -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)