commit 9e88f14d06e0e8be7bae7fcea10f5e57b88cf0b9
Author: parazyd <[email protected]>
AuthorDate: Mon May 4 00:26:16 2020 +0200
Commit: Jan Klemkow <[email protected]>
CommitDate: Mon May 4 08:53:23 2020 +0200
Add "uninstall" target to the Makefile.
diff --git a/Makefile b/Makefile
index 797fc4b..80d2c2f 100644
--- 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