diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-24 08:37:11 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-03-24 08:37:11 +0000 |
commit | 4f6b81b5bc7cdc004ce8b69cdf8fc3830af1e359 (patch) | |
tree | bf3fed5662d89a1afebb075982a775572cd58a95 /Makefile.in | |
parent | 3da77eaff4408f20bdbadde2464295475d0983a6 (diff) | |
download | ptxdist-4f6b81b5bc7cdc004ce8b69cdf8fc3830af1e359.tar.gz ptxdist-4f6b81b5bc7cdc004ce8b69cdf8fc3830af1e359.tar.xz |
[Makefile] install: try to install files as user root
make install:
use "-o" option in extracting (2nd) tar, which tries to create files as
root (uid: 0). Usefull if ptxdist gets installed into nfsv4 shared
folder where root can only create files owned by root.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10152 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 91f53b3f5..2741c7c10 100644 --- a/Makefile.in +++ b/Makefile.in @@ -26,7 +26,7 @@ install: all @test -d ${DESTDIR}${instdir} || exit 1 @touch ${DESTDIR}${instdir} || exit 1 @echo "installing PTXdist to ${DESTDIR}${prefix}/bin..." - tar -C ${abs_srcdir} -cf - --exclude .svn --exclude state --exclude debian --exclude .pc . | tar -C ${DESTDIR}${instdir} -xvf - + tar -C ${abs_srcdir} -cf - --exclude .svn --exclude state --exclude debian --exclude .pc . | tar -o -C ${DESTDIR}${instdir} -xvf - @mkdir -p ${DESTDIR}${prefix}/bin @rm -f ${DESTDIR}${prefix}/bin/ptxdist @ln -sf ${instdir}/bin/ptxdist ${DESTDIR}${prefix}/bin/ptxdist-${version} |