aboutsummaryrefslogtreecommitdiffstats
path: root/main/mailx/mailx-8.1.1.patch
blob: f1c9519c0c3ef8f0d96097baacd42a2439fb540d (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
--- ./Makefile	Thu Mar 16 09:30:36 2000
+++ ./Makefile	Wed Feb 27 12:50:09 2002
@@ -7,18 +7,20 @@
 BINOWN = root
 BINGRP = mail
 
+DESTDIR = 
+
 all:
 	gcc $(SRCS) -o $(PROG)
 
 install:
-	mkdir -p /usr/share/misc
-	mkdir -p /usr/share/man/man1
-	mkdir -p /etc
-	mkdir -p /usr/bin
-	install -o $(BINOWN) -g $(BINGRP) -m 2755 $(PROG) /usr/bin
-	install -o root -g root -m 644 mail.1 /usr/share/man/man1
+	mkdir -p $(DESTDIR)/usr/share/misc
+	mkdir -p $(DESTDIR)/usr/man/man1
+	mkdir -p $(DESTDIR)/etc
+	mkdir -p $(DESTDIR)/usr/bin
+	install -o $(BINOWN) -g $(BINGRP) -m 2755 $(PROG) $(DESTDIR)/usr/bin
+	install -o root -g root -m 644 mail.1 $(DESTDIR)/usr/man/man1
 	cd misc; install -c -o ${BINOWN} -g ${BINGRP} \
-	    -m 444 ${SFILES} /usr/share/misc
+	    -m 444 ${SFILES} $(DESTDIR)/usr/share/misc
 	cd misc; install -c -o root -g root \
-	    -m 644 ${EFILES} /etc
+	    -m 644 ${EFILES} $(DESTDIR)/etc