Matthias Kilian <[email protected]> wrote:
> As just discussed in private, the MAKE_FLAGS magic you need to give
> the installer an absolute path should better be done like this:
>
> INSTALL = /usr/bin/install
> MAKE_FLAGS = INSTALL_PROGRAM='${INSTALL_PROGRAM}' \
> INSTALL_DATA='${INSTALL_DATA}'
>
> This will give you all the benefits of our INSTALL_* goo like
> permissions, `-s' in INSTALL_PROGRAM depending on wether DEBUG is
> set or not, etc.
I think you misunderstand. The point of this...
MAKE_FLAGS = INSTALL='/usr/bin/install -c' \
INSTALL_PROGRAM='/usr/bin/install -c -s -m 555' \
INSTALL_DATA='/usr/bin/install -c -m 644'
... is to override these INSTALL* commands during the build (!) stage,
so there aren't any -o or -g flags that would require root.
This is *not* about the fake install.
Edd, drop the -s from INSTALL_PROGRAM. We don't want to strip(1)
there.
--
Christian "naddy" Weisgerber [email protected]