vkill

Verbose & interactive pkill alternative
git clone https://git.sinitax.com/sinitax/vkill
Log | Files | Refs | LICENSE | sfeed.txt

commit 16ea9fb708ab534a7947fb34151ed0a306151b46
parent 687e7f9db061a5cba4a3942138607b124b43bd8c
Author: Louis Burda <quent.burda@gmail.com>
Date:   Wed,  5 Oct 2022 20:24:38 +0200

Add install and uninstall targets

Diffstat:
MMakefile | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,3 +1,5 @@ +PREFIX ?= /usr/local +BINDIR ?= /bin all: vkill @@ -6,4 +8,10 @@ clean: vkill: vkill.c -.PHONY: all clean +install: vkill + install -m755 vkill -T "$(DESTDIR)$(PREFIX)$(BINDIR)/vkill" + +uninstall: + rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/vkill" + +.PHONY: all clean install uninstall