New graph-depends script
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 May 2010 08:09:14 +0000 (10:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 21 May 2010 13:16:48 +0000 (15:16 +0200)
commit0e12aa3e0f9a3a1170196c1f078f633fcbc92568
tree5d4cb0275530d9e228d622381bb635b0b40d87fe
parentb7d6c8ad0f786552e21d91d97ad4221ebc43876f
New graph-depends script

Add a Python script that draws dependency graphs, either for the full
set of selected packages, or for a particular given package. Of
course, it is limited to packages that use either the generic or
autotools infrastructures. The script generates a file that Graphviz
can parse and generate a PDF (or other formats) from it.

Full dependency graph of all selected packages :

 ./scripts/graph-depends > test.dot
 dot -Tpdf test.dot -o test.pdf

Dependency graph of libgtk2 :

 ./scripts/graph-depends libgtk2 > test.dot
 dot -Tpdf test.dot -o test.pdf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
scripts/graph-depends [new file with mode: 0755]