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@debian.org / chris-lamb.co.uk `-