mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Simplify make core & make <module-path> tasks
This commit is contained in:
4
Makefile
4
Makefile
@ -27,11 +27,11 @@ compile: init.el clean
|
|||||||
@$(EMACS) -f doom/compile
|
@$(EMACS) -f doom/compile
|
||||||
|
|
||||||
core: init.el clean
|
core: init.el clean
|
||||||
@$(EMACS) -f doom/compile -- init.el $(shell find core/ -maxdepth 2 -type f -name '*.el')
|
@$(EMACS) -f doom/compile -- init.el core
|
||||||
|
|
||||||
$(MODULES): init.el .local/autoloads.el
|
$(MODULES): init.el .local/autoloads.el
|
||||||
@rm -fv $(shell find $@ -maxdepth 2 -type f -name '*.elc')
|
@rm -fv $(shell find $@ -maxdepth 2 -type f -name '*.elc')
|
||||||
@$(EMACS) -f doom/compile -- $(shell find $@ -maxdepth 2 -type f -name '*.el')
|
@$(EMACS) -f doom/compile -- $@
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@$(EMACS) -f doom/clean-compiled
|
@$(EMACS) -f doom/clean-compiled
|
||||||
|
Reference in New Issue
Block a user