summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c93cb647..83ba7ca0 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,10 @@ uninstall:
 	@echo '~/.ranger'
 
 install: compile
+	@if [ '$(DEST)' == '/ranger' ]; then \
+		echo 'Cannot find a suitable destination for the files.'; \
+		false; \
+	fi
 	@echo "Installing..."
 	cp ranger.py $(PREFIX)/bin/ranger
 	cp -ruT ranger $(DEST)