[PATCH 2/3] respect DESTDIR when installing

Mike Frysinger vapier at gentoo.org
Wed Oct 24 16:07:36 CDT 2012


On Wednesday 24 October 2012 16:51:40 Ben Myers wrote:
> Hey Mike,
> 
> On Mon, Sep 24, 2012 at 07:39:37PM -0400, Mike Frysinger wrote:
> > This makes the `make install DESTDIR=...` form work.  It keeps support
> > for all previous forms too (like DIST_ROOT).
> 
> This doesn't seem to work for me.  I do a make install
> DESTDIR=/some/odd/path and it all still goes into /usr.  What sort of
> system did you try this on? Maybe it just doesn't like opensuse 12.2?

the `make` output makes it look like it's going into / and such, but it isn't.  
the install-sh script rewrites the path silently behind the scenes.

alternatively, maybe you didn't rebuild autotools after applying the patch ?  
the code will copy include/install-sh to the top level, and then everything 
executes that rather than the original in the include/ subdir.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20121024/cefacab1/attachment.sig>


More information about the xfs mailing list