aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 76a8413..f1b67e5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
DESTDIR = /usr/local/bin
INSTALL = install --mode=755
+UNINSTALL = rm -f
SCRIPTS = \
git-multimail \
add-git-user \
@@ -12,3 +13,10 @@ install:
$(INSTALL) $$i $(DESTDIR) ; \
echo "Installed $$i" ; \
done
+
+.PHONY: uninstall
+uninstall:
+ @for i in $(SCRIPTS) ; do \
+ $(UNINSTALL) $(DESTDIR)/$$i ; \
+ echo "Uninstalled $$i" ; \
+ done