[PATCH 2/3] respect DESTDIR when installing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This makes the `make install DESTDIR=...` form work.  It keeps support
for all previous forms too (like DIST_ROOT).

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
 include/install-sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/install-sh b/include/install-sh
index 18c051f..c952a71 100755
--- a/include/install-sh
+++ b/include/install-sh
@@ -85,6 +85,8 @@ REAL_UID=$OWNER
 INSTALL=true
 MANIFEST=:
 
+: ${DIST_ROOT:=${DESTDIR}}
+
 [ -n "$DIST_MANIFEST" -a -z "$DIST_ROOT" ] && INSTALL=false
 [ -n "$DIST_MANIFEST" ] && MANIFEST="_manifest"
 
-- 
1.7.12

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux