aboutsummaryrefslogtreecommitdiffstats
path: root/german/unix-connect/files/patch-Makefile
blob: f8210bfa3cd0cf1c0c135236f4d6acbe4b0cba71 (plain) (blame)
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
--- etc/Makefile.orig	2000-02-06 20:00:07 UTC
+++ etc/Makefile
@@ -18,7 +18,7 @@ install:
 install:
 	for i in $(FILES); do \
 	if test ! -f $(ETCDIR)/$$i; then \
-		$(INSTALL_DATA) $$i $(ETCDIR); \
+		$(INSTALL_DATA) $$i $(DESTDIR)$(ETCDIR)/$$i.sample; \
 	fi; done
 
 uninstall:
--- gate/Makefile.orig	2001-05-23 06:58:13 UTC
+++ gate/Makefile
@@ -48,11 +48,11 @@ install:	all
 all:	$(PROGS)
 
 install:	all
-	$(INSTALL_PROGRAM) uursmtp uuwsmtp uuwnews $(BINDIR)
-	$(INSTALL_PROGRAM) -m 4555 uurnews $(BINDIR)
+	$(INSTALL_PROGRAM) uursmtp uuwsmtp uuwnews $(DESTDIR)$(BINDIR)
+	$(INSTALL_PROGRAM) -m 4555 uurnews $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(PROGS)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
 
 clean:
 	-rm -f $(CLEANFILES) $(PROGS) $(TPROGS)
--- shell/Makefile.orig	2001-05-23 06:55:45 UTC
+++ shell/Makefile
@@ -71,13 +71,13 @@ install: $(FILES)
 install: $(FILES)
 	for i in $(FILESKEEP) ; do \
 		if [ ! -e $(BINDIR)/$$i ] ; then \
-			$(INSTALL_PROGRAM) $$i $(BINDIR) ; \
+			$(INSTALL_PROGRAM) $$i $(DESTDIR)$(BINDIR) ; \
 		fi ; \
 	done
-	$(INSTALL_PROGRAM) $(FILESFORCE) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILESFORCE) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- online/Makefile.orig	2001-05-23 06:55:47 UTC
+++ online/Makefile
@@ -52,10 +52,10 @@ install:	all
 all:	$(PROGS)
 
 install:	all
-	$(INSTALL_PROGRAM) $(PROGS) $(BINDIR)
+	$(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(PROGS)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
 
 clean:
 	-rm -f $(CLEANFILES) $(PROGS)
--- rsmtp/Makefile.orig	2000-01-14 21:42:19 UTC
+++ rsmtp/Makefile
@@ -19,20 +19,20 @@ BINMIN	= \
 	bsmtp
 
 BINMIN	= \
-	$(BINDIR)/rsmtp \
-	$(BINDIR)/bsmtp
+	$(DESTDIR)$(BINDIR)/rsmtp \
+	$(DESTDIR)$(BINDIR)/bsmtp
 
 # rules
 
 all:	$(TARMIN)
 
-install:	${BINDIR} \
-		$(SPOOLDIR)/rsmtp \
+install:	$(DESTDIR)${BINDIR} \
+		$(DESTDIR)$(SPOOLDIR)/rsmtp \
 		$(TARMIN) \
 		$(BINMIN)
 
 uninstall:
-	-rm -f $(BINMIN) $(BINDIR)/rgsmtp $(BINDIR)/rcsmtp
+	-rm -f $(BINMIN) $(DESTDIR)$(BINDIR)/rgsmtp $(DESTDIR)$(BINDIR)/rcsmtp
 
 clean:
 	-rm -f $(CLEANFILES) $(TARMIN)
@@ -47,20 +47,20 @@ bsmtp:	bsmtp.o
 
 # install rules
 
-$(BINDIR):
-	mkdir -p ${BINDIR}
+$(DESTDIR)$(BINDIR):
+	mkdir -p $(DESTDIR)${BINDIR}
 
-$(SPOOLDIR)/rsmtp:
-	mkdir -p $(SPOOLDIR)/rsmtp
-	chown $(USER) $(SPOOLDIR)/rsmtp
-	chmod 1777 $(SPOOLDIR)/rsmtp
+$(DESTDIR)$(SPOOLDIR)/rsmtp:
+	mkdir -p $(DESTDIR)$(SPOOLDIR)/rsmtp
+	chown $(USER) $(DESTDIR)$(SPOOLDIR)/rsmtp
+	chmod 1777 $(DESTDIR)$(SPOOLDIR)/rsmtp
 
-$(BINDIR)/rsmtp: rsmtp
+$(DESTDIR)$(BINDIR)/rsmtp: rsmtp
 	$(INSTALL_PROGRAM) rsmtp $@
-	$(INSTALL_PROGRAM) rsmtp $(BINDIR)/rgsmtp
-	$(INSTALL_PROGRAM) rsmtp $(BINDIR)/rcsmtp
+	$(INSTALL_PROGRAM) rsmtp $(DESTDIR)$(BINDIR)/rgsmtp
+	$(INSTALL_PROGRAM) rsmtp $(DESTDIR)$(BINDIR)/rcsmtp
 
-$(BINDIR)/bsmtp: bsmtp
+$(DESTDIR)$(BINDIR)/bsmtp: bsmtp
 	$(INSTALL_PROGRAM) rsmtp $@
 
 # end of makefile
--- mail-and-news/inn/Makefile.orig	2000-01-15 20:51:30 UTC
+++ mail-and-news/inn/Makefile
@@ -7,10 +7,10 @@ install: $(FILES)
 all: $(FILES)
 
 install: $(FILES)
-	$(INSTALL_PROGRAM) $(FILES) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- mail-and-news/postfix/Makefile.orig	2002-04-07 11:07:30 UTC
+++ mail-and-news/postfix/Makefile
@@ -7,10 +7,10 @@ install: $(FILES)
 all: $(FILES) README ucpf.pl
 
 install: $(FILES)
-	$(INSTALL_PROGRAM) $(FILES) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- mail-and-news/qmail/Makefile.orig	2000-01-15 21:06:49 UTC
+++ mail-and-news/qmail/Makefile
@@ -7,10 +7,10 @@ install: $(FILES)
 all: $(FILES)
 
 install: $(FILES)
-	$(INSTALL_PROGRAM) $(FILES) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
 	
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- mail-and-news/sendmail/Makefile.orig	2001-03-27 05:59:06 UTC
+++ mail-and-news/sendmail/Makefile
@@ -41,10 +41,10 @@ install: $(FILES)
 all: RSMTP $(FILES) uconnect.m4
 
 install: $(FILES)
-	$(INSTALL_PROGRAM) $(FILES) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- mail-and-news/smail/Makefile.orig	2001-03-27 05:59:06 UTC
+++ mail-and-news/smail/Makefile
@@ -41,10 +41,10 @@ install: $(FILES)
 all: $(FILES)
 
 install: $(FILES)
-	$(INSTALL_PROGRAM) $(FILES) $(BINDIR)
+	$(INSTALL_PROGRAM) $(FILES) $(DESTDIR)$(BINDIR)
 	
 uninstall:
-	-cd $(BINDIR) && rm -f $(FILES)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(FILES)
 
 clean:
 	-rm -f $(CLEANFILES)
--- tools/Makefile.orig	2001-05-23 06:55:42 UTC
+++ tools/Makefile
@@ -44,10 +44,10 @@ install:	all
 all:	$(PROGS)
 
 install:	all
-	$(INSTALL_PROGRAM) $(PROGS) $(BINDIR)
+	$(INSTALL_PROGRAM) $(PROGS) $(DESTDIR)$(BINDIR)
 
 uninstall:
-	-cd $(BINDIR) && rm -f $(PROGS)
+	-cd $(DESTDIR)$(BINDIR) && rm -f $(PROGS)
 
 clean:
 	-rm -f $(CLEANFILES) $(PROGS)