diff options
author | hut <hut@lavabit.com> | 2010-03-12 19:19:42 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 19:19:42 +0100 |
commit | 76f8d548b055fad7f9652d23035d30c910ec4ca0 (patch) | |
tree | 84fb9a4b4aa9f0c276a2fed303549c056c6cfd4b | |
parent | 766a5b6adb6fe568b2e2dbaa0b7c1bc94e535637 (diff) | |
download | ranger-76f8d548b055fad7f9652d23035d30c910ec4ca0.tar.gz |
make install: catch an exception
-rw-r--r-- | Makefile | 4 |
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) |