mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
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/%, $@)
|
||||
|
Reference in New Issue
Block a user