Forráskód Böngészése

Add "uninstall" target to the Makefile.

parazyd 5 éve
szülő
commit
9e88f14d06
1 módosított fájl, 3 hozzáadás és 0 törlés
  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