Utilize the pkg purge list
authorSiraaj Khandkar <siraaj@khandkar.net>
Sat, 31 Aug 2019 17:41:54 +0000 (13:41 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sat, 31 Aug 2019 17:41:54 +0000 (13:41 -0400)
Makefile

index c7130db..a65663b 100644 (file)
--- 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)
This page took 0.026526 seconds and 4 git commands to generate.