Add rule to install all except packages
This commit is contained in:
parent
f9f11b15a1
commit
e7ceb24455
6
Makefile
6
Makefile
|
@ -21,10 +21,12 @@ POWERLEVEL_DIR := $(ZSH_CUSTOM_DIR)/themes/powerlevel10k
|
|||
TPM_REPO := https://github.com/tmux-plugins/tpm
|
||||
TPM_DIR := $(HOME)/.tmux/plugins/tpm
|
||||
|
||||
.PHONY: install clean home packages config zsh ssh nvim
|
||||
.PHONY: install nopackages clean home packages config zsh ssh nvim
|
||||
|
||||
install: home packages config zsh ssh nvim
|
||||
|
||||
nopackages: home config zsh ssh nvim
|
||||
|
||||
clean:
|
||||
for link in $(HOME_TARGETS); do rm "$$link"; done
|
||||
for link in $(CONFIG_TARGETS); do rm "$$link"; done
|
||||
|
@ -35,7 +37,7 @@ clean:
|
|||
home: $(HOME_TARGETS)
|
||||
|
||||
packages:
|
||||
command -v pacman > /dev/null 2>&1 && { pacman -T - < pkglist.txt || sudo pacman --needed -S - < pkglist.txt }
|
||||
pacman -T - < pkglist.txt || sudo pacman --needed -S - < pkglist.txt
|
||||
|
||||
config: $(CONFIG_TARGETS) $(TPM_DIR)
|
||||
|
||||
|
|
Loading…
Reference in a new issue