Add rule to install all except packages

This commit is contained in:
Evie Litherland-Smith 2023-02-09 16:05:24 +00:00
parent f9f11b15a1
commit e7ceb24455

View file

@ -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)