X-Git-Url: https://git.xandkar.net/?p=khome.git;a=blobdiff_plain;f=Makefile;h=a65663bd216b98d9363f8b771f4b7cfa7cf7e98e;hp=c7130db2adf188f7576c0a21777d556c36f47824;hb=600d3b0b6b707caf147817f6f994570e731e1291;hpb=9e667c0cc208e760e4bfcfa7017dcb8bc0b85756 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)