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

Ben Myers
2012-10-24T21:19:33Z

On Wed, Oct 24, 2012 at 05:07:36PM -0400, Mike Frysinger wrote:
> On Wednesday 24 October 2012 16:51:40 Ben Myers wrote:
> > 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.

Thanks Mike, works great.

-Ben