Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-23 Thread Steve Greenland
On 23-Aug-00, 16:26 (CDT), Franklin Belew <[EMAIL PROTECTED]> wrote: > On Wed, Aug 23, 2000 at 02:59:39PM -0500, Steve Greenland wrote: > > > > While I agree with the philosophy, this code snippet is wrong, as > > it will add the "-s" iff DEB_BUILD_OPTIONS includes "debug" but not > > "nostrip".

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-23 Thread Franklin Belew
On Wed, Aug 23, 2000 at 02:59:39PM -0500, Steve Greenland wrote: > On 20-Aug-00, 15:24 (CDT), Ben Collins <[EMAIL PROTECTED]> wrote: > > The nostrip check needs to be inside the debug check. Because of you are > > not compiling with debugging turned on, there's no reason to not strip the > > binar

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-23 Thread Steve Greenland
On 20-Aug-00, 15:24 (CDT), Ben Collins <[EMAIL PROTECTED]> wrote: > The nostrip check needs to be inside the debug check. Because of you are > not compiling with debugging turned on, there's no reason to not strip the > binaries. So (note, the blank should go first): > > ifneq "" "$(findstring de

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Branden Robinson
On Sun, Aug 20, 2000 at 04:40:10PM -0700, Joey Hess wrote: > BTW, the paragraph in policy about DEB_BUILD_OPTIONS is poorly worded > and has some grammatical problems. I've marked the parts that got on my > nerves. [...] > This allows to generate a build tree with debugging information. If >

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Joey Hess
Ben Collins wrote: > The nostrip check needs to be inside the debug check. Because of you are > not compiling with debugging turned on, there's no reason to not strip the > binaries. So (note, the blank should go first): Wow, you almost overloaded my negation parser there. BTW, the paragraph in p

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Ben Collins
On Mon, Aug 21, 2000 at 12:10:37AM +0200, Josip Rodin wrote: > On Sun, Aug 20, 2000 at 04:24:09PM -0400, Ben Collins wrote: > > > ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" > > > CFLAGS += -g > > > endif > > > ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" "" > > > INSTALL += -s > >

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Josip Rodin
On Sun, Aug 20, 2000 at 04:24:09PM -0400, Ben Collins wrote: > > ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" > > CFLAGS += -g > > endif > > ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" "" > > INSTALL += -s > > endif > > The nostrip check needs to be inside the debug check. Because

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Ben Collins
> ifneq "$(findstring debug,$(DEB_BUILD_OPTIONS))" "" > CFLAGS += -g > endif > ifeq "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" "" > INSTALL += -s > endif The nostrip check needs to be inside the debug check. Because of you are not compiling with debugging turned on, there's no reason to not

Bug#69487: the example for using nostrip in DEB_BUILD_OPTIONS is incorrect

2000-08-20 Thread Josip Rodin
Package: debian-policy Version: 3.2.0.0 Hi, Section `4.1 Binaries' says: CFLAGS = -O2 -Wall INSTALL = install ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g ifneq (,$(findstring nost