Sfoglia il codice sorgente

Add "uninstall" target to the Makefile.

parazyd 5 anni fa
parent
commit
9e88f14d06
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      Makefile

+ 3 - 0
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