summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2013-04-01 16:06:21 +0200
committerhut <hut@lavabit.com>2013-04-01 16:30:05 +0200
commitf19c589432c68ae1979adb723deb3665d38c0b4a (patch)
tree3b0dd01b534a78b8963958c87a57e876ac5f08bc /Makefile
parente71e0931a09ee71729582dd99a9a9c2eb987876b (diff)
downloadranger-f19c589432c68ae1979adb723deb3665d38c0b4a.tar.gz
Added bumblebee-like "make uninstall"
This innovative uninstalling method unlocks the power and immense
efficiency that resulted from years of dedicated R&D by the greatest
minds to ever walk the face of the earth.  By now, this method is
state-of-the-art after being tested by prestigious software such as
bumblebee [1], marking a milestone and becoming a true legend in the
history of open source development.

[1] https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commit/a047be85247755cdbe0acce6f1dafc8beb84f2ac
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