소스 검색

Add "uninstall" target to the Makefile.

parazyd 5 년 전
부모
커밋
9e88f14d06
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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