Do not list the header itself.
authoralpar
Wed, 09 Aug 2006 12:51:21 +0000
changeset 217042fffa713424
parent 2169 9f71586a3f74
child 2171 f40343b498ef
Do not list the header itself.
scripts/see-deps
     1.1 --- a/scripts/see-deps	Wed Aug 09 12:47:31 2006 +0000
     1.2 +++ b/scripts/see-deps	Wed Aug 09 12:51:21 2006 +0000
     1.3 @@ -2,5 +2,5 @@
     1.4  
     1.5  echo '#include<'$1'>' >seedeps_tmp.cc
     1.6  gcc -MM -I. -I.. -I../.. $2 seedeps_tmp.cc|tr ':' ' '|tr '\' ' '|tr ' ' '\n'|
     1.7 -egrep -v '^$'|egrep -v '.o$'|egrep -v '.cc$'|sort
     1.8 +egrep -v '^$'|egrep -v '.o$'|egrep -v '.cc$'|grep -v '^'$1'$'|sort
     1.9  rm seedeps_tmp.cc
    1.10 \ No newline at end of file