[FIX] Clean-up Makefile
I added missing .PHONY rules, and made Vim quit after installing its packages.
This commit is contained in:
parent
675f9d82a6
commit
5efd29dd6f
11
Makefile
11
Makefile
|
@ -140,6 +140,8 @@ link-cli: $(addprefix stow-,$(CLI_PACKAGES))
|
|||
link-visual: $(addprefix stow-,$(VISUAL_PACKAGES))
|
||||
|
||||
# Installing configuration packages
|
||||
.PHONY: $(addprefix stow-,$(CLI_PACKAGES))
|
||||
.PHONY: $(addprefix stow-,$(VISUAL_PACKAGES))
|
||||
stow-%: %
|
||||
$(STOW) $<
|
||||
|
||||
|
@ -164,15 +166,20 @@ stow-tmux: tmux
|
|||
|
||||
stow-vim: vim
|
||||
$(STOW) $<
|
||||
vim +PlugInstall
|
||||
vim +PlugInstall +qa
|
||||
|
||||
# Removing packages
|
||||
unlink: unlink-cli unlink-visual
|
||||
.PHONY: unlink-all
|
||||
unlink-all: unlink-cli unlink-visual
|
||||
|
||||
.PHONY: unlink-cli
|
||||
unlink-cli: $(addprefix unstow-,$(CLI_PACKAGES))
|
||||
|
||||
.PHONY: unlink-visual
|
||||
unlink-visual: $(addprefix unstow-,$(VISUAL_PACKAGES))
|
||||
|
||||
.PHONY: $(addprefix unstow-,$(CLI_PACKAGES))
|
||||
.PHONY: $(addprefix unstow-,$(VISUAL_PACKAGES))
|
||||
unstow-%:
|
||||
$(STOW) -D $*
|
||||
|
||||
|
|
Loading…
Reference in a new issue