X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=487b43d20137249261bd48a9ef5fa1404afc558b;hb=0b43a166e37777a360fbbfd2043c2b1565e0cff3;hp=c7130db2adf188f7576c0a21777d556c36f47824;hpb=9e667c0cc208e760e4bfcfa7017dcb8bc0b85756;p=khome.git diff --git a/Makefile b/Makefile index c7130db..487b43d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install_home install_pkgs +.PHONY: home pkgs_install pkgs_purge pkgs -install_home: +home: @cp -Rp home/bin $(HOME)/ @cp -Rp home/lib $(HOME)/ @cp home/.compton.conf $(HOME)/ @@ -15,5 +15,12 @@ install_home: @cp home/.tmux.conf $(HOME)/ @cp home/.xbindkeysrc $(HOME)/ -install_pkgs: list pkgs-install +pkgs: + $(MAKE) pkgs_install + $(MAKE) pkgs_purge + +pkgs_install: list pkgs-install sudo apt install $(shell ./list pkgs-install) + +pkgs_purge: list pkgs-purge + sudo apt purge $(shell ./list pkgs-purge)