From: Siraaj Khandkar Date: Sat, 31 Aug 2019 17:43:36 +0000 (-0400) Subject: Refactor target names X-Git-Url: https://git.xandkar.net/?p=khome.git;a=commitdiff_plain;h=dffe5c946bbc4f156fe6b600c8af1c31b6bf4416 Refactor target names --- diff --git a/Makefile b/Makefile index a65663b..487b43d 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 -install_home: +home: @cp -Rp home/bin $(HOME)/ @cp -Rp home/lib $(HOME)/ @cp home/.compton.conf $(HOME)/ @@ -16,11 +16,11 @@ 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)