Add doom/recompile-packages (make compile:elpa)
If you upgrade (or downgrade) Emacs, there may be byte-compilation errors. This works around that.
This commit is contained in:
parent
5fe3cfbc75
commit
5346670ab0
2 changed files with 9 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -32,6 +32,9 @@ compile: init.el clean
|
|||
compile\:core: init.el clean
|
||||
@$(EMACS) -f doom/compile -- init.el core
|
||||
|
||||
compile\:elpa: init.el
|
||||
@$(EMACS) -f doom/recompile-packages
|
||||
|
||||
$(patsubst %, compile\:%, $(MODULES)): init.el .local/autoloads.el
|
||||
@rm -fv $(shell find $(patsubst compile:%, modules/%, $@) -type f -name '*.elc')
|
||||
@$(EMACS) -f doom/compile -- $(patsubst compile:%, modules/%, $@)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue