From: Siraaj Khandkar Date: Sat, 31 Aug 2019 17:41:54 +0000 (-0400) Subject: Utilize the pkg purge list X-Git-Url: https://git.xandkar.net/?p=khome.git;a=commitdiff_plain;h=600d3b0b6b707caf147817f6f994570e731e1291 Utilize the pkg purge list --- diff --git a/Makefile b/Makefile index c7130db..a65663b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install_home install_pkgs +.PHONY: install_home install_pkgs purge_pkgs pkgs install_home: @cp -Rp home/bin $(HOME)/ @@ -15,5 +15,12 @@ install_home: @cp home/.tmux.conf $(HOME)/ @cp home/.xbindkeysrc $(HOME)/ +pkgs: + $(MAKE) install_pkgs + $(MAKE) purge_pkgs + install_pkgs: list pkgs-install sudo apt install $(shell ./list pkgs-install) + +purge_pkgs: list pkgs-purge + sudo apt purge $(shell ./list pkgs-purge)