summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-12 19:19:42 +0100
committerhut <hut@lavabit.com>2010-03-12 19:19:42 +0100
commit76f8d548b055fad7f9652d23035d30c910ec4ca0 (patch)
tree84fb9a4b4aa9f0c276a2fed303549c056c6cfd4b /Makefile
parent766a5b6adb6fe568b2e2dbaa0b7c1bc94e535637 (diff)
downloadranger-76f8d548b055fad7f9652d23035d30c910ec4ca0.tar.gz
make install: catch an exception
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)
^
4c13e1f2 ^

c9383c72 ^







4c13e1f2 ^





ef0157ff ^
4c13e1f2 ^









ef0157ff ^
4c13e1f2 ^










c9383c72 ^

4c13e1f2 ^

c9383c72 ^

4c13e1f2 ^







c9383c72 ^







4c13e1f2 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87