summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
 
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130