From 600d3b0b6b707caf147817f6f994570e731e1291 Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 31 Aug 2019 13:41:54 -0400 Subject: [PATCH] Utilize the pkg purge list --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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) -- 2.20.1