Update of /cvsroot/mahogany/M/extra/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv14820/extra/scripts
Modified Files:
include.pl
Log Message:
Header dependency cleanup, last few well aimed hits
Index: include.pl
===================================================================
RCS file: /cvsroot/mahogany/M/extra/scripts/include.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -u -2 -r1.2 -r1.3
--- include.pl 18 Sep 2003 16:30:37 -0000 1.2
+++ include.pl 19 Sep 2003 13:31:18 -0000 1.3
@@ -370,4 +370,6 @@
next if ! /^ *# *include *[<"]([^"]*)[">]/; # Count system includes too
my ($include) = $1;
+ next if $nosystemincludes && /<[^"]*>/;
+ next if $noccincludes && IncludePath($file,$include) =~ /c-client/;
if( $dependencies{$include} != 1 )
{
@@ -433,4 +435,8 @@
print "Recursive usage counts for headers\n";
InvertedDependencies();
+ print "Recursive in-project include counts for headers\n";
+ $nosystemincludes = 1;
+ $noccincludes = 1;
+ StatisticsForExtension(".h");
if( -e $ARGV[1] )
{
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates