summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-28 16:22:05 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-28 16:22:05 (EDT)
commitbf6a21c426aa9fb678523a7175c176502996a997 (patch)
tree1c425c1787e7dac0bbf15c6f6c3390786312132d
parent6e28e3b1512e9bbbd0481ebc6395acfdc7a823df (diff)
Add date/time to graph label
-rwxr-xr-xbin/depsdot7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/depsdot b/bin/depsdot
index ba3d43a..1e31fcf 100755
--- a/bin/depsdot
+++ b/bin/depsdot
@@ -73,12 +73,11 @@ sub main
}
}
}
- STDOUT->print("/*\n * ProteanOS source package dependencies\n" .
- ' * Generated ' . strftime('on %Y-%m-%d at %H:%M:%S %Z',
- localtime()) . "\n */\n\n" .
+ STDOUT->print("/*\n * ProteanOS source package dependencies\n */\n\n" .
"strict digraph deps {\n" .
"\toverlap = false;\n\tsplines = true;\n\tlayout = neato;\n" .
- "\tlabel = <<B>ProteanOS Source Package Dependencies</B><BR/>" .
+ "\tlabel = <<B>ProteanOS Source Package Dependencies as of " .
+ strftime('%Y-%m-%d at %H:%M:%S %Z', localtime()) . "</B><BR/>" .
"\n\t\tGray nodes are leaf packages (no reverse dependencies)" .
"<BR/>\n\t\tGray edges are dependencies on multiple source " .
"packages&nbsp;\n\t\t\tthat build binaries of the same name>;" .