diff options
author | Aiden Gall <aiden@aidengall.xyz> | 2023-12-11 18:51:11 +0000 |
---|---|---|
committer | Aiden Gall <aiden@aidengall.xyz> | 2023-12-11 18:51:11 +0000 |
commit | 7b281dc0c9b227a87bcbc696c2892ba2c5c53dc6 (patch) | |
tree | 152fa3b15c0280d94a26c63f8031d08466a66342 | |
parent | ac18fcd10eff325973211b894ba4236cc1c3818c (diff) |
add uninstall to Makefile
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |