summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-17 22:46:42 +0200
committerhut <hut@lavabit.com>2010-05-17 22:46:42 +0200
commitec598fc7e3919abe2b157592c9a42acaeb3c2e7c (patch)
tree3453f067376d360ca297396ce607b192ddc76f77 /Makefile
parent4fc56903c47660d827c7bf27a30395498f72ee21 (diff)
downloadranger-ec598fc7e3919abe2b157592c9a42acaeb3c2e7c.tar.gz
make: added DESTDIR to Makefile
Patch by David Woodfall
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 1f75728c..9cc822a1 100644
--- a/Makefile
+++ b/Makefile
@@ -58,15 +58,15 @@ install:
 		false; \
 	fi
 	@echo "Installing $(NAME) version $(VERSION)..."
-	@mkdir -p $(PREFIX)/bin
-	cp -f ranger.py $(PREFIX)/bin/ranger
-	@mkdir -p $(PYTHON_SITE_DEST)
-	cp -fruT ranger $(PYTHON_SITE_DEST)/ranger
-	@chmod 755 $(PREFIX)/bin/ranger
-	@chmod -R +rX $(PYTHON_SITE_DEST)/ranger
-	@mkdir -p $(PREFIX)$(MANPREFIX)/man1
-	cp -f doc/ranger.1 $(PREFIX)$(MANPREFIX)/man1/ranger.1
-	@chmod 644 $(PREFIX)$(MANPREFIX)/man1/ranger.1
+	@mkdir -p $(DESTDIR)$(PREFIX)/bin
+	cp -f ranger.py $(DESTDIR)$(PREFIX)/bin/ranger
+	@mkdir -p $(DESTDIR)$(PYTHON_SITE_DEST)
+	cp -fruT ranger $(DESTDIR)$(PYTHON_SITE_DEST)/ranger
+	@chmod 755 $(DESTDIR)$(PREFIX)/bin/ranger
+	@chmod -R +rX $(DESTDIR)$(PYTHON_SITE_DEST)/ranger
+	@mkdir -p $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1
+	cp -f doc/ranger.1 $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1/ranger.1
+	@chmod 644 $(DESTDIR)$(PREFIX)$(MANPREFIX)/man1/ranger.1
 
 uninstall:
 	rm -f $(PREFIX)/bin/ranger
tml files' href='/akspecs/ranger/commit/doc/pydoc/ranger.defaults.apps.html?h=v1.4.2&id=34a60763e79546e0f84e30fbcc430632f3dbb39e'>34a60763 ^
62cd83ba ^

34a60763 ^
62cd83ba ^
34a60763 ^
f07bb12f ^

4c13e1f2 ^





34a60763 ^
4c13e1f2 ^
34a60763 ^
4c13e1f2 ^
f07bb12f ^





34a60763 ^
f07bb12f ^









34a60763 ^
f07bb12f ^



34a60763 ^



f07bb12f ^


34a60763 ^

4c13e1f2 ^
f07bb12f ^
4c13e1f2 ^
f07bb12f ^
34a60763 ^




f07bb12f ^
4c13e1f2 ^
f07bb12f ^
1cd06f3f ^

4c13e1f2 ^
f07bb12f ^
34a60763 ^

c776804d ^

34a60763 ^





62cd83ba ^

4c13e1f2 ^
f07bb12f ^
34a60763 ^

4c13e1f2 ^
f07bb12f ^
34a60763 ^

4c13e1f2 ^
f07bb12f ^
34a60763 ^

c776804d ^

34a60763 ^

f07bb12f ^
34a60763 ^
f07bb12f ^

4c13e1f2 ^

34a60763 ^



f07bb12f ^




34a60763 ^




f07bb12f ^





4c13e1f2 ^






c776804d ^
34a60763 ^
f07bb12f ^
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
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163