From 96dece0e90a1692441e047f03682c2a5be6ca563 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Sep 2010 12:35:22 +1000 Subject: [PATCH] pkg-deps.sh: check for graphviz --- pkg-deps.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg-deps.sh b/pkg-deps.sh index 801f0c0..8df293f 100755 --- a/pkg-deps.sh +++ b/pkg-deps.sh @@ -41,6 +41,7 @@ cp -p pkgs.dot pkgs.dot.orig GHC_PKGS="array base-4 base-3 bin-package-db bytestring Cabal containers directory dph extensible-exceptions filepath ffi ghc-binary ghc-prim haskell98 hpc integer-gmp old-locale old-time pretty process random rts syb template-haskell time unix Win32" for i in $GHC_PKGS; do sed -i -e /$i/d pkgs.dot; done +which tred >/dev/null cat pkgs.dot | tred | dot -Nfontsize=8 -Tsvg >pkgs.svg if [ -n "$DISPLAY" ]; then