[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#72849: policy: advises to use -s flag to install in wrong place



On Mon, Oct 02, 2000 at 12:58:53AM +0200, Wichert Akkerman wrote:
> Previously Yann Dirson wrote:
> > This is usually wrong, as automake Makefiles also use INSTALL for
> > non-binary files.
> 
> Afaik it uses INSTALL_DATA for non-binary files.

You're right.  However:

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL_PROGRAM}

Hm... you'll notice that INSTALL_SCRIPT here is quite annoying if we add
'-s'.  But as it comes from the following in Makefile.in, maybe it's just
annoying:

INSTALL_SCRIPT = @INSTALL_SCRIPT@


-- 
Yann Dirson    <ydirson@altern.org> |    Why make M$-Bill richer & richer ?
debian-email:   <dirson@debian.org> |   Support Debian GNU/Linux:
                                    | Cheaper, more Powerful, more Stable !
http://ydirson.free.fr/             | Check <http://www.debian.org/>



Reply to: