1 |
Index: Makefile.in |
---|
2 |
=================================================================== |
---|
3 |
--- Makefile.in 2007-02-14 01:59:19.000000000 -0500 |
---|
4 |
+++ Makefile.in 2007-02-14 02:06:36.000000000 -0500 |
---|
5 |
@@ -35,11 +35,11 @@ |
---|
6 |
@for d in $(SUBDIRS); do (echo "### Making $@ in $$d"; cd $$d; $(MAKE) $@) || exit 1; done |
---|
7 |
|
---|
8 |
install: |
---|
9 |
- $(srcdir)/mkinstalldirs $(bindir) $(sbindir) $(mrbindir) $(mandir) |
---|
10 |
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) |
---|
11 |
@for d in $(SUBDIRS); do (echo "### Making $@ in $$d"; cd $$d; $(MAKE) $@) || exit 1; done |
---|
12 |
|
---|
13 |
svrinstall: |
---|
14 |
- $(srcdir)/mkinstalldirs $(mrbindir) |
---|
15 |
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(mrbindir) |
---|
16 |
@for d in $(SVRDIRS); do (echo "### Making install in $$d"; cd $$d; $(MAKE) install) || exit 1; done |
---|
17 |
|
---|
18 |
world: depend all |
---|
19 |
Index: clients/addusr/Makefile.in |
---|
20 |
=================================================================== |
---|
21 |
--- clients/addusr/Makefile.in 2007-02-14 01:59:19.000000000 -0500 |
---|
22 |
+++ clients/addusr/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
23 |
@@ -40,7 +40,7 @@ |
---|
24 |
depend: |
---|
25 |
|
---|
26 |
install: all |
---|
27 |
- $(INSTALL_PROGRAM) -m 755 addusr $(bindir) |
---|
28 |
+ $(INSTALL_PROGRAM) -m 755 addusr $(DESTDIR)$(bindir) |
---|
29 |
|
---|
30 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
31 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
32 |
Index: clients/blanche/Makefile.in |
---|
33 |
=================================================================== |
---|
34 |
--- clients/blanche/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
35 |
+++ clients/blanche/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
36 |
@@ -40,7 +40,7 @@ |
---|
37 |
depend: |
---|
38 |
|
---|
39 |
install: all |
---|
40 |
- $(INSTALL_PROGRAM) blanche $(bindir) |
---|
41 |
+ $(INSTALL_PROGRAM) blanche $(DESTDIR)$(bindir) |
---|
42 |
|
---|
43 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
44 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
45 |
Index: clients/chfn/Makefile.in |
---|
46 |
=================================================================== |
---|
47 |
--- clients/chfn/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
48 |
+++ clients/chfn/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
49 |
@@ -40,7 +40,7 @@ |
---|
50 |
depend: |
---|
51 |
|
---|
52 |
install: all |
---|
53 |
- $(INSTALL_PROGRAM) $(TARGET) $(bindir) |
---|
54 |
+ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir) |
---|
55 |
|
---|
56 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
57 |
$(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) |
---|
58 |
Index: clients/chpobox/Makefile.in |
---|
59 |
=================================================================== |
---|
60 |
--- clients/chpobox/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
61 |
+++ clients/chpobox/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
62 |
@@ -40,7 +40,7 @@ |
---|
63 |
depend: |
---|
64 |
|
---|
65 |
install: all |
---|
66 |
- $(INSTALL_PROGRAM) $(TARGET) $(bindir) |
---|
67 |
+ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir) |
---|
68 |
|
---|
69 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
70 |
$(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) |
---|
71 |
Index: clients/chsh/Makefile.in |
---|
72 |
=================================================================== |
---|
73 |
--- clients/chsh/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
74 |
+++ clients/chsh/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
75 |
@@ -40,7 +40,7 @@ |
---|
76 |
depend: |
---|
77 |
|
---|
78 |
install: all |
---|
79 |
- $(INSTALL_PROGRAM) $(TARGET) $(bindir) |
---|
80 |
+ $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(bindir) |
---|
81 |
|
---|
82 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
83 |
$(CC) -o $@ $(LDFLAGS) $@.o $(LIBS) |
---|
84 |
Index: clients/mailmaint/Makefile.in |
---|
85 |
=================================================================== |
---|
86 |
--- clients/mailmaint/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
87 |
+++ clients/mailmaint/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
88 |
@@ -40,7 +40,7 @@ |
---|
89 |
depend: |
---|
90 |
|
---|
91 |
install: all |
---|
92 |
- $(INSTALL_PROGRAM) mailmaint $(bindir) |
---|
93 |
+ $(INSTALL_PROGRAM) mailmaint $(DESTDIR)$(bindir) |
---|
94 |
|
---|
95 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
96 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
97 |
Index: clients/mitch/Makefile.in |
---|
98 |
=================================================================== |
---|
99 |
--- clients/mitch/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
100 |
+++ clients/mitch/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
101 |
@@ -40,7 +40,7 @@ |
---|
102 |
depend: |
---|
103 |
|
---|
104 |
install: all |
---|
105 |
- $(INSTALL_PROGRAM) mitch $(bindir) |
---|
106 |
+ $(INSTALL_PROGRAM) mitch $(DESTDIR)$(bindir) |
---|
107 |
|
---|
108 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
109 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
110 |
Index: clients/moira/Makefile.in |
---|
111 |
=================================================================== |
---|
112 |
--- clients/moira/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
113 |
+++ clients/moira/Makefile.in 2007-02-14 02:07:47.000000000 -0500 |
---|
114 |
@@ -44,14 +44,14 @@ |
---|
115 |
depend: |
---|
116 |
|
---|
117 |
install: all |
---|
118 |
- $(INSTALL_PROGRAM) namespace $(bindir) |
---|
119 |
- $(INSTALL_PROGRAM) moira $(bindir) |
---|
120 |
- rm -f $(bindir)/listmaint |
---|
121 |
- ln -s moira $(bindir)/listmaint |
---|
122 |
- rm -f $(bindir)/dcmmaint |
---|
123 |
- ln -s moira $(bindir)/dcmmaint |
---|
124 |
- rm -f $(bindir)/usermaint |
---|
125 |
- ln -s moira $(bindir)/usermaint |
---|
126 |
+ $(INSTALL_PROGRAM) namespace $(DESTDIR)$(bindir) |
---|
127 |
+ $(INSTALL_PROGRAM) moira $(DESTDIR)$(bindir) |
---|
128 |
+ rm -f $(DESTDIR)$(bindir)/listmaint |
---|
129 |
+ ln -s moira $(DESTDIR)$(bindir)/listmaint |
---|
130 |
+ rm -f $(DESTDIR)$(bindir)/dcmmaint |
---|
131 |
+ ln -s moira $(DESTDIR)$(bindir)/dcmmaint |
---|
132 |
+ rm -f $(DESTDIR)$(bindir)/usermaint |
---|
133 |
+ ln -s moira $(DESTDIR)$(bindir)/usermaint |
---|
134 |
|
---|
135 |
moira: $(MOBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
136 |
$(CC) -o $@ $(LDFLAGS) $(MOBJS) $(LIBS) |
---|
137 |
Index: clients/mrcheck/Makefile.in |
---|
138 |
=================================================================== |
---|
139 |
--- clients/mrcheck/Makefile.in 2007-02-14 01:59:20.000000000 -0500 |
---|
140 |
+++ clients/mrcheck/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
141 |
@@ -40,7 +40,7 @@ |
---|
142 |
depend: |
---|
143 |
|
---|
144 |
install: all |
---|
145 |
- $(INSTALL_PROGRAM) mrcheck $(bindir) |
---|
146 |
+ $(INSTALL_PROGRAM) mrcheck $(DESTDIR)$(bindir) |
---|
147 |
|
---|
148 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
149 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
150 |
Index: clients/mrtest/Makefile.in |
---|
151 |
=================================================================== |
---|
152 |
--- clients/mrtest/Makefile.in 2007-02-14 01:59:21.000000000 -0500 |
---|
153 |
+++ clients/mrtest/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
154 |
@@ -40,7 +40,7 @@ |
---|
155 |
depend: |
---|
156 |
|
---|
157 |
install: all |
---|
158 |
- $(INSTALL_PROGRAM) mrtest $(bindir) |
---|
159 |
+ $(INSTALL_PROGRAM) mrtest $(DESTDIR)$(bindir) |
---|
160 |
|
---|
161 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
162 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
163 |
Index: clients/stanley/Makefile.in |
---|
164 |
=================================================================== |
---|
165 |
--- clients/stanley/Makefile.in 2007-02-14 01:59:21.000000000 -0500 |
---|
166 |
+++ clients/stanley/Makefile.in 2007-02-14 01:59:59.000000000 -0500 |
---|
167 |
@@ -40,7 +40,7 @@ |
---|
168 |
depend: |
---|
169 |
|
---|
170 |
install: all |
---|
171 |
- $(INSTALL_PROGRAM) stanley $(bindir) |
---|
172 |
+ $(INSTALL_PROGRAM) stanley $(DESTDIR)$(bindir) |
---|
173 |
|
---|
174 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
175 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
176 |
Index: clients/stella/Makefile.in |
---|
177 |
=================================================================== |
---|
178 |
--- clients/stella/Makefile.in 2007-02-14 01:59:21.000000000 -0500 |
---|
179 |
+++ clients/stella/Makefile.in 2007-02-14 02:00:00.000000000 -0500 |
---|
180 |
@@ -40,7 +40,7 @@ |
---|
181 |
depend: |
---|
182 |
|
---|
183 |
install: all |
---|
184 |
- $(INSTALL_PROGRAM) stella $(bindir) |
---|
185 |
+ $(INSTALL_PROGRAM) stella $(DESTDIR)$(bindir) |
---|
186 |
|
---|
187 |
$(TARGET): $(OBJS) ../lib/libmrclient.a $(MR_LIBDEP) |
---|
188 |
$(CC) -o $@ $(LDFLAGS) $(OBJS) $(LIBS) |
---|
189 |
Index: man/Makefile.in |
---|
190 |
=================================================================== |
---|
191 |
--- man/Makefile.in 2007-02-14 01:59:21.000000000 -0500 |
---|
192 |
+++ man/Makefile.in 2007-02-14 02:00:00.000000000 -0500 |
---|
193 |
@@ -32,6 +32,7 @@ |
---|
194 |
depend: |
---|
195 |
|
---|
196 |
install: |
---|
197 |
- for m in $(MAN1); do $(INSTALL_DATA) $(srcdir)/$$m $(mandir)/man1; done |
---|
198 |
- for m in $(MAN3); do $(INSTALL_DATA) $(srcdir)/$$m $(mandir)/man3; done |
---|
199 |
- for m in $(MAN8); do $(INSTALL_DATA) $(srcdir)/$$m $(mandir)/man8; done |
---|
200 |
+ $(srcdir)/../mkinstalldirs $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man3 $(DESTDIR)$(mandir)/man8 |
---|
201 |
+ for m in $(MAN1); do $(INSTALL_DATA) $(srcdir)/$$m $(DESTDIR)$(mandir)/man1; done |
---|
202 |
+ for m in $(MAN3); do $(INSTALL_DATA) $(srcdir)/$$m $(DESTDIR)$(mandir)/man3; done |
---|
203 |
+ for m in $(MAN8); do $(INSTALL_DATA) $(srcdir)/$$m $(DESTDIR)$(mandir)/man8; done |
---|
204 |
Index: update/Makefile.in |
---|
205 |
=================================================================== |
---|
206 |
--- update/Makefile.in 2007-02-14 01:59:21.000000000 -0500 |
---|
207 |
+++ update/Makefile.in 2007-02-14 02:00:00.000000000 -0500 |
---|
208 |
@@ -43,8 +43,8 @@ |
---|
209 |
depend: |
---|
210 |
|
---|
211 |
install: all |
---|
212 |
- $(INSTALL_PROGRAM) update_test $(bindir) |
---|
213 |
- $(INSTALL_PROGRAM) update_server $(sbindir) |
---|
214 |
+ $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir) |
---|
215 |
+ $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir) |
---|
216 |
|
---|
217 |
update_test: $(COBJS) $(MR_LIBDEP) |
---|
218 |
$(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS) |
---|