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

2000-10-19 Thread Yann Dirson
On Tue, Oct 03, 2000 at 02:54:38PM -0700, Joey Hess wrote: > Yann Dirson wrote: > > > Actually, dh_strip does more than install -s: > > > > > > foreach (@executables) { > > > > > > doit("strip","--remove-section=.comment","--remove-section=.note",$_); > > > } > > > > IIRC Debian'

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

2000-10-04 Thread Joey Hess
Yann Dirson wrote: > > Actually, dh_strip does more than install -s: > > > > foreach (@executables) { > > > > doit("strip","--remove-section=.comment","--remove-section=.note",$_); > > } > > IIRC Debian's "strip" was once patched to use these flags by default. > Don't know whethe

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

2000-10-01 Thread Wichert Akkerman
Previously Yann Dirson wrote: > On Mon, Oct 02, 2000 at 12:58:53AM +0200, Wichert Akkerman wrote: > INSTALL = /usr/bin/install -c > INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS) > INSTALL_DATA = ${INSTALL} -m 644 > INSTALL_SCRIPT = ${INSTALL_PROGRAM} So modify AM_INSTALL_PROGRAM_FLAGS i

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

2000-10-01 Thread Yann Dirson
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

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

2000-10-01 Thread Wichert Akkerman
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. Wichert. -- _ / Nothing is fool-proof to a sufficiently

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

2000-10-01 Thread Yann Dirson
On Sun, Oct 01, 2000 at 05:28:01PM +0200, Marco d'Itri wrote: > On Sep 30, Yann Dirson <[EMAIL PROTECTED]> wrote: > > >Also, packages using debhelper may just call dh_strip and don't need > >to care about adding -s flag to install. > Actually, dh_strip does more than install -s: > > foreach

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

2000-10-01 Thread Marco d'Itri
On Sep 30, Yann Dirson <[EMAIL PROTECTED]> wrote: >Also, packages using debhelper may just call dh_strip and don't need >to care about adding -s flag to install. Actually, dh_strip does more than install -s: foreach (@executables) { doit("strip","--remove-section=.comment","--remove

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

2000-09-30 Thread Yann Dirson
Package: debian-policy Version: 3.2.1.0 Severity: normal Section 4.1 tells to use something like: INSTALL = install ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL += -s endif This is usually wrong, as automake Makefiles also use INSTALL for non-binary files. I tried this and got