summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAiden Gall <aiden@aidengall.xyz>2023-12-11 18:51:11 +0000
committerAiden Gall <aiden@aidengall.xyz>2023-12-11 18:51:11 +0000
commit7b281dc0c9b227a87bcbc696c2892ba2c5c53dc6 (patch)
tree152fa3b15c0280d94a26c63f8031d08466a66342
parentac18fcd10eff325973211b894ba4236cc1c3818c (diff)
add uninstall to Makefile
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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