[Lemon-commits] [lemon_svn] alpar: r2885 - hugo/trunk/scripts

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 21:51:02 CET 2006


Author: alpar
Date: Wed Aug  9 14:51:21 2006
New Revision: 2885

Modified:
   hugo/trunk/scripts/see-deps

Log:
Do not list the header itself.


Modified: hugo/trunk/scripts/see-deps
==============================================================================
--- hugo/trunk/scripts/see-deps	(original)
+++ hugo/trunk/scripts/see-deps	Wed Aug  9 14:51:21 2006
@@ -2,5 +2,5 @@
 
 echo '#include<'$1'>' >seedeps_tmp.cc
 gcc -MM -I. -I.. -I../.. $2 seedeps_tmp.cc|tr ':' ' '|tr '\' ' '|tr ' ' '\n'|
-egrep -v '^$'|egrep -v '.o$'|egrep -v '.cc$'|sort
+egrep -v '^$'|egrep -v '.o$'|egrep -v '.cc$'|grep -v '^'$1'$'|sort
 rm seedeps_tmp.cc
\ No newline at end of file



More information about the Lemon-commits mailing list