I wrote a couple of scripts to extract some numbers from the dependency files 
to be found in the .deps dirs. See attached.

$ ./deps.sh build/src/insets/ExternalTemplates.o
ExternalTemplate.o depends on 151 system files and 31 local files

If you pass deps.sh all the .o files in the build, dumping the output to file, 
you can then run summate.sh on this output. It does nothing more than add up 
all the system file dependencies into one value. Ditto for the local file 
dependencies.

$ ./summate.sh stats
Total system dependencies: 123583
Total local  dependencies: 56886

I downloaded a copy of the cvs tree from 3 September and ran these scripts on 
the build dirs of it and of current cvs. Total local dependencies reduced 
from 63 to 57 thousand files.

Looks like I did something useful after all ;-)
Angus

$ find devel/build/src -name "*.o" | xargs scripts/deps.sh > depstats1
$ sort depstats1 > depstats1_sorted
$ find sep_03/build/src -name "*.o" | xargs scripts/deps.sh > depstats2
$ sort depstats2 > depstats2_sorted
$ wc -l depstats1_sorted
    754 depstats1_sorted
$ wc -l depstats2_sorted
    754 depstats2_sorted
$ scripts/summate.sh depstats1_sorted
Total system dependencies: 123583
Total local  dependencies: 56886
$ scripts/summate.sh depstats2_sorted
Total system dependencies: 125081
Total local  dependencies: 63382

-- 
Angus

Attachment: deps.sh
Description: application/shellscript

Attachment: summate.sh
Description: application/shellscript

Reply via email to