From 7b281dc0c9b227a87bcbc696c2892ba2c5c53dc6 Mon Sep 17 00:00:00 2001 From: Aiden Gall Date: Mon, 11 Dec 2023 18:51:11 +0000 Subject: add uninstall to Makefile --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5130c30..c275a19 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ .POSIX: -.PHONY: all clean dist install +.PHONY: all clean dist install uninstall VERSION = 0.1 PREFIX = /usr/local @@ -51,3 +51,7 @@ install: all chmod 644 $(DESTDIR)$(MANPREFIX)/man8/simplebl.8 install -Dm755 simplebl ${DESTDIR}${PREFIX}/bin/simplebl chmod u+s ${DESTDIR}${PREFIX}/bin/simplebl + +uninstall: + rm -f $(DESTDIR)$(PREFIX)/bin/simplebl + rm -f $(DESTDIR)$(MANPREFIX)/man8/simplebl.8 -- cgit v1.2.3