Add "uninstall" target to the Makefile. - scroll - scrollbackbuffer program for st
(HTM) git clone git://git.suckless.org/scroll
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9e88f14d06e0e8be7bae7fcea10f5e57b88cf0b9
(DIR) parent e59f60dbcc68c453d450e12b678b6ae9455aa293
(HTM) Author: parazyd <parazyd@dyne.org>
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(-)
---
(DIR) 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