Web lists-archives.com

Re: question about build profile nocheck




Hi Afif,

Wookey already replied with an excellent answer, but surely:

> ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
> override_dh_auto_test:
> 	commands...
>         commands...
> else
> override_dh_auto_test:
> endif

… is better written as:

  override_dh_auto_test:
  ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
        commands...
  endif

;)


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@xxxxxxxxxx / chris-lamb.co.uk
       `-