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:
parent
b49b0f4ec5
commit
7f5546870c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue