[hackers] [scroll][PATCH 3/3] Add "uninstall" target to the Makefile.

From: parazyd <parazyd_AT_dyne.org>
Date: Mon, 4 May 2020 00:26:16 +0200

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/Makefile b/Makefile
index 797fc4b..80d2c2f 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -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
-- 
2.26.2
Received on Mon May 04 2020 - 00:26:16 CEST

This archive was generated by hypermail 2.3.0 : Mon May 04 2020 - 01:12:36 CEST