Add 'unflatten' to doxygen/dot processing
g0dil [Thu, 25 Jun 2009 08:49:03 +0000 (08:49 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1239 270642c3-0616-0410-b53a-bc976706d245

doclib/dot

index d181567..4ec3c34 100755 (executable)
@@ -1,8 +1,14 @@
 #!/bin/sh
 
 topdir="`dirname "$0"`"; topdir="`cd "$topdir/.."; pwd`"
+if head -4 "$1" | grep -q nomunge; then
+    dot "$@"
+    exit $?
+fi
 sed -i -e 's/rankdir=LR/rankdir=TB/' "$1"
 "$topdir/doclib/dot-munge.pl" "$1"
+unflatten -l3 -c3 -f -o "$1".unflat "$1"
+mv "$1".unflat "$1"
 
 case "$2" in
     -Tpng:gd)