mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Simplify makefile
This commit is contained in:
12
Makefile
12
Makefile
@ -48,18 +48,10 @@ ifeq (bootstrap,$(firstword $(MAKECMDGOALS)))
|
||||
$(eval $(ARGV):;@:)
|
||||
endif
|
||||
|
||||
bootstrap: init.el
|
||||
@$(EMACS) -f 'doom-initialize-autoloads' --eval "(doom/bootstrap '($(ARGV)))"
|
||||
bootstrap: init.el .local/autoloads.el
|
||||
@$(EMACS) --eval "(doom/bootstrap '($(ARGV)))"
|
||||
|
||||
|
||||
# This is only useful if your emacs.d is somewhere other than ~/.emacs.d (for
|
||||
# development purposes for instance).
|
||||
run:
|
||||
@emacs $(EMACS_FLAGS) -q -l init.el
|
||||
|
||||
reload:
|
||||
@$(EMACS) -f 'doom/reload'
|
||||
|
||||
init.el:
|
||||
@[ -e init.el ] || $(error No init.el file; create one or copy init.example.el)
|
||||
|
||||
|
Reference in New Issue
Block a user