From bd692f7ebe04e23151cce39baf311b925ccf91b1 Mon Sep 17 00:00:00 2001 From: kergoth Date: Fri, 29 Nov 2002 18:59:06 +0000 Subject: Silence some of those annoying errors in dependency generation --- (limited to 'scripts') diff --git a/scripts/deps.pl b/scripts/deps.pl index 56c4e77..feced6e 100755 --- a/scripts/deps.pl +++ b/scripts/deps.pl @@ -46,10 +46,14 @@ sub makedepends ($$) /\&\&/ && next; /\|\|/ && next; /^$/ && next; + /^\($/ && next; + /^\)$/ && next; + /^on$/ && next; + /^!$/ && next; if(defined(${$tokenpath}{"CONFIG_" . $_})){ print '$(if $(CONFIG_' . $_ . '),' . ${$tokenpath}{"CONFIG_" . $_} . ') '; } else { - print STDERR "ERROR in dependency generation, unable to locate path for token CONFIG_$_\n"; + print STDERR "Warning: unable to locate path for token CONFIG_$_\n"; } } print "\n"; -- cgit v0.9.0.2