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