summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 358493dc..d91c0668 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,13 @@ install:
 	$(PYTHON) setup.py install $(SETUPOPTS) \
 		'--root=$(DESTDIR)' --optimize=$(PYOPTIMIZE)
 
+uninstall:
+	: rm -rf /usr /bin/ranger
+	: rm -rf /usr /bin/rifle
+	: rm -rf /usr /share/man/man1/{ranger,rifle}.1{.gz,}
+	: rm -rf /usr /lib/python3.3/site-packages/ranger
+	: rm -rf /usr /lib/python3.3/site-packages/ranger-$(VERSION)-py3.3.egg-info
+
 compile: clean
 	PYTHONOPTIMIZE=$(PYOPTIMIZE) $(PYTHON) -m compileall -q ranger