From 1bb3a7e6d0ec366d4b4024b08dfe9b3f4f0234d0 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 17 Nov 2020 14:51:26 -0700 Subject: [PATCH] uninstall target --- Makefile | 3 +++ README.md | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Makefile b/Makefile index bef65f5..6b0010d 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index 6119abd..1f8691c 100644 --- a/README.md +++ b/README.md @@ -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 ==================