uninstall target

This commit is contained in:
Neale Pickett 2020-11-17 14:51:26 -07:00
parent 03f9111cf2
commit 1bb3a7e6d0
2 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,9 @@ install: $(TARGETS) $(SCRIPTS)
install $(TARGETS) $(DESTDIR)$(PREFIX)/bin
install $(SCRIPTS) $(DESTDIR)$(PREFIX)/bin
uninstall:
cd $(PREFIX)/bin && rm -f $(TARGETS) $(SCRIPTS)
pmerge: pmerge.o pcap.o
puniq: puniq.o pcap.o

View File

@ -35,6 +35,10 @@ On a non-Ubuntu system,
you may need to edit your `.bashrc` to add `$HOME/bin` to your `PATH`
environment variable.
## Uninstalling
make DESTDIR=$HOME uninstall
Forks and Packages
==================