diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2022-10-04 10:15:26 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2022-10-04 10:17:33 -0700 |
| commit | 11ec70cfeb3c6ce34fe6f7daf6dca4d75426764f (patch) | |
| tree | ab5d485b7ec5493cb76ce4b0126b4dcc4b370940 /tools/depthfirst.gvpr | |
| parent | e33d61dff99e500cb63b2a1ed63cc0041ce37a21 (diff) | |
Better 'make moduledeps' target.
ROOT can now be multiple modules, and the complete transitive
dependencies of all of them will be printed.
make moduledeps ROOT="Text.Pandoc.Class Text.Pandoc.Parsing"
Diffstat (limited to 'tools/depthfirst.gvpr')
| -rw-r--r-- | tools/depthfirst.gvpr | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tools/depthfirst.gvpr b/tools/depthfirst.gvpr deleted file mode 100644 index 5539be22e..000000000 --- a/tools/depthfirst.gvpr +++ /dev/null @@ -1,18 +0,0 @@ -BEGIN { - int i, indent; - int seen[string]; - void prInd (int cnt) { - for (i = 0; i < cnt; i++) printf (" "); } -} -BEG_G { - $tvtype = TV_prepostfwd; $tvroot = node($,ARGV[0]); -} N{ - if (seen[$.name]) { - indent--; - if (indent == 0) exit(0); - } else { - prInd(indent); print ($.name); - seen[$.name] = 1; - indent++; - } -} |
