X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=487b43d20137249261bd48a9ef5fa1404afc558b;hb=dffe5c946bbc4f156fe6b600c8af1c31b6bf4416;hp=45086eb9b2d728fdcd3cf8232da50f6fb1340866;hpb=80cc9199a10658b4a40b466e86c3d49ddb582df2;p=khome.git diff --git a/Makefile b/Makefile index 45086eb..487b43d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,26 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install +.PHONY: home pkgs_install pkgs_purge pkgs -install: - @cp -Rp bin $(HOME)/ - @cp -Rp lib $(HOME)/ - @cp .profile $(HOME)/ +home: + @cp -Rp home/bin $(HOME)/ + @cp -Rp home/lib $(HOME)/ + @cp home/.compton.conf $(HOME)/ + @cp -Rp home/.config/ $(HOME)/ + @cp home/.profile $(HOME)/ + @cp home/.fonts.conf $(HOME)/ + @fc-cache $(HOME)/.fonts + @cp home/.Rprofile $(HOME)/ + @cp home/.mpdconf $(HOME)/ + @cp home/.tmux.conf $(HOME)/ + @cp home/.xbindkeysrc $(HOME)/ + +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)