commit 9e88f14d06e0e8be7bae7fcea10f5e57b88cf0b9
parent e59f60dbcc68c453d450e12b678b6ae9455aa293
Author: parazyd <parazyd@dyne.org>
Date: Mon, 4 May 2020 00:26:16 +0200
Add "uninstall" target to the Makefile.
Diffstat:
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