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

Re: Is policy 11.1 right?



From: Michael Piefel <piefel@debian.org>
Subject: Re: Is policy 11.1 right?
Date: Tue, 9 Oct 2001 11:11:20 +0200

> Am  9.10.01 um 18:01:23 schrieb Atsuhito Kohda:
> >           ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) 
> >           INSTALL_PROGRAM += -s 
> >           endif 
> 
> Assumed DEB_BUILD_OPTIONS contains "nostrip", then
> $(findstring nostrip,$(DEB_BUILD_OPTIONS)) will result in "nostrip".
> Then, the test "ifeq (,nostrip)" will fail. This results in the strip
> option not being added in case "nostrip" is DEB_BUILD_OPTIONS.

I see.  I first found 

          ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
          CFLAGS += -g
          endif
          ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
          INSTALL_PROGRAM += -s
          endif

and thought they were in the same structure so the latter
might be wrong but the former begins with "ifneq" but the
latter with "ifeq" (and they were compared with null).

Now I can understand the meaning of them.

Thanks for your kind (really kind) advice and sorry
for my noise.

Best regards,			2001.10.10

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Tokushima Univ.



Reply to: