Fixed ordering of ln and install.

This commit is contained in:
James Patrick 2019-12-13 11:48:21 -05:00
parent 8fa9db638b
commit 60a274a90c

View File

@ -17,15 +17,15 @@ else ifneq ($(call cmd_exist,emacs), true)
$(info Emacs not installed ) $(info Emacs not installed )
else else
$(info => installing doom.) $(info => installing doom.)
$(MAKE) -C $(SRC_DIR) doom_init
$(mk_link) $(SRC_DIR)/doom.d $(DOOMD) $(mk_link) $(SRC_DIR)/doom.d $(DOOMD)
$(MAKE) -C $(SRC_DIR) doom_init
endif endif
doom_init: doom_init:
ifeq ($(shell [ ! -e $(EMACSD) ] $(return_val_truthy) ), true) ifeq ($(shell [ ! -e $(EMACSD) ] $(return_val_truthy) ), true)
git clone $(DOOM_URL) $(EMACSD) ; $(report) "Doom installed" git clone $(DOOM_URL) $(EMACSD) ; $(report) "Doom installed"
$(report) warn "Doom quickstart is about to start. This will take a minute" ; sleep 3 $(report) warn "Doom install is about to start. This will take a minute" ; sleep 3
~/.emacs.d/bin/doom --yes quickstart ~/.emacs.d/bin/doom --yes install
~/.emacs.d/bin/doom --yes compile ':core' ~/.emacs.d/bin/doom --yes compile ':core'
else else
$(report) info "$(EMACSD) already exist. Skipping." $(report) info "$(EMACSD) already exist. Skipping."