summaryrefslogtreecommitdiff
blob: 3e1ad17f0ff39dd490adfa664a05f9c2071bc17b (plain)
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
diff --git a/Makefile b/Makefile
index 1492703..bcc6a67 100644
--- a/Makefile
+++ b/Makefile
@@ -72,7 +72,7 @@ aufs.5: aufs.in.5 c2tmac
 
 .INTERMEDIATE: c2sh c2tmac
 
-Install = install -o root -g root -p
+Install = install -p
 install_sbin: File = mount.aufs umount.aufs auplink
 install_sbin: Tgt = ${DESTDIR}/sbin
 install_ubin: File = auchk aubrsync #auctl
diff --git a/libau/Makefile b/libau/Makefile
index 9588514..9265639 100644
--- a/libau/Makefile
+++ b/libau/Makefile
@@ -41,10 +41,10 @@ ${LibSo}.${LibSoMajor}.${LibSoMinor}: ${LibSoObj}
 
 install_ulib: File = ${LibSo} ${LibSo}.${LibSoMajor} \
 	${LibSo}.${LibSoMajor}.${LibSoMinor}
-install_ulib: Tgt = ${DESTDIR}/usr/lib
+install_ulib: Tgt = ${DESTDIR}/usr/${LIBDIR}
 install_ulib: ${File}
 	install -d ${Tgt}
-	${Install} -m 644 -s ${File} ${Tgt}
+	cp -d ${File} ${Tgt}
 	# -m 6755
 
 clean: