Simplify make core & make <module-path> tasks

This commit is contained in:
Henrik Lissner 2017-06-09 00:33:34 +02:00
parent f071e55dc0
commit 73fb6b0800
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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