Add "uninstall" target to the Makefile. - scroll - scrollbackbuffer program for… | |
git clone git://git.suckless.org/scroll | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9e88f14d06e0e8be7bae7fcea10f5e57b88cf0b9 | |
parent e59f60dbcc68c453d450e12b678b6ae9455aa293 | |
Author: parazyd <[email protected]> | |
Date: Mon, 4 May 2020 00:26:16 +0200 | |
Add "uninstall" target to the Makefile. | |
Diffstat: | |
M Makefile | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -14,6 +14,9 @@ install: scroll | |
cp -f scroll $(DESTDIR)$(BINDIR) | |
cp -f scroll.1 $(DESTDIR)$(MANDIR)/man1 | |
+uninstall: | |
+ rm -f $(DESTDIR)$(BINDIR)/scroll $(DESTDIR)$(MANDIR)/man1/scroll.1 | |
+ | |
test: scroll ptty | |
# check usage | |
if ./ptty ./scroll -h; then exit 1; fi |