From: g0dil Date: Thu, 25 Jun 2009 08:49:03 +0000 (+0000) Subject: Add 'unflatten' to doxygen/dot processing X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=5443435c4c2b6e4386c5334b5b8358273f2bae93;p=senf.git Add 'unflatten' to doxygen/dot processing git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1239 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/doclib/dot b/doclib/dot index d181567..4ec3c34 100755 --- a/doclib/dot +++ b/doclib/dot @@ -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)