Re: [PATCH 2/3] respect DESTDIR when installing

Mike Frysinger
2012-10-24T21:05:52Z

[-- Attachment #1.1: Type: Text/Plain, Size: 858 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 121 bytes --]