From e7ceb24455c97c3ae284d2b9a6a3279dff6dfcae Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 9 Feb 2023 16:05:24 +0000 Subject: [PATCH] Add rule to install all except packages --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 99a918a9..ce91e9f2 100644 --- a/Makefile +++ b/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)