summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited 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