Add uninstall target for Makefile.
This commit is contained in:
parent
962c54b8e0
commit
d4f0f15341
6
Makefile
6
Makefile
@ -27,7 +27,7 @@ endif
|
|||||||
pacundo.1.gz: pacundo.1
|
pacundo.1.gz: pacundo.1
|
||||||
gzip -c $^ > $@
|
gzip -c $^ > $@
|
||||||
|
|
||||||
.PHONY: clean doc install
|
.PHONY: clean doc install uninstall
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) pacundo.1.gz
|
$(RM) pacundo.1.gz
|
||||||
@ -39,3 +39,7 @@ install: pacundo pacundo.1.gz
|
|||||||
install -m 755 pacundo.pl $(PREFIX)/bin/pacundo
|
install -m 755 pacundo.pl $(PREFIX)/bin/pacundo
|
||||||
install -d $(PREFIX)/share/man/man1
|
install -d $(PREFIX)/share/man/man1
|
||||||
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/
|
install -m 644 pacundo.1.gz $(PREFIX)/share/man/man1/
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
$(RM) $(PREFIX)/bin/pacundo
|
||||||
|
$(RM) $(PREFIX)/share/man/man1/pacundo.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user