X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=Makefile;h=5c490ba2eb79f06334b7dcfd10cce542cf83920c;hb=b59a4c3b614ab4e5d5ccd0c9c9d8630f3dbc41e2;hp=a65663bd216b98d9363f8b771f4b7cfa7cf7e98e;hpb=600d3b0b6b707caf147817f6f994570e731e1291;p=khome.git diff --git a/Makefile b/Makefile index a65663b..5c490ba 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ MAKEFLAGS := --no-builtin-rules -.PHONY: install_home install_pkgs purge_pkgs pkgs +.PHONY: home pkgs_install pkgs_purge pkgs deps -install_home: +home: @cp -Rp home/bin $(HOME)/ @cp -Rp home/lib $(HOME)/ @cp home/.compton.conf $(HOME)/ @@ -16,11 +16,14 @@ install_home: @cp home/.xbindkeysrc $(HOME)/ pkgs: - $(MAKE) install_pkgs - $(MAKE) purge_pkgs + $(MAKE) pkgs_install + $(MAKE) pkgs_purge -install_pkgs: list pkgs-install +pkgs_install: list pkgs-install sudo apt install $(shell ./list pkgs-install) -purge_pkgs: list pkgs-purge +pkgs_purge: list pkgs-purge sudo apt purge $(shell ./list pkgs-purge) + +deps: + @$(foreach d,$(wildcard deps/*),cd $(d) && make)