Makefile::GraphViz

Draw building flowcharts from Makefiles using GraphViz
Download

Makefile::GraphViz Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Agent Zhang
  • Publisher web site:
  • http://search.cpan.org/~agent/OpenResty-0.3.14/lib/OpenResty/Spec/Overview.pod

Makefile::GraphViz Tags


Makefile::GraphViz Description

Draw building flowcharts from Makefiles using GraphViz Makefile::GraphViz is a Perl module to draw building flowcharts from Makefiles using GraphViz.SYNOPSIS use Makefile::GraphViz; $parser = Makefile::GraphViz->new; $parser->parse('Makefile'); # plot the tree rooted at the 'install' goal in Makefile: $gv = $parser->plot('install'); # A GraphViz object returned. $gv->as_png('install.png'); # plot the tree rooted at the 'default' goal in Makefile: $gv = $parser->plot; $gv->as_png('default.png'); # plot the forest consists of all the goals in Makefile: $gv = $parser->plot_all; $gv->as_png('default.png'); # you can also invoke all the methods # inherited from the Makefile::Parser class: @targets = $parser->targets;This module uses Makefile::Parser to render user's Makefiles via the amazing GraphViz module. Before I decided to write this thing, there had been already a CPAN module named GraphViz::Makefile which did the same thing. However, the pictures generated by GraphViz::Makefile is oversimplified in my opinion, so a much complex one is still needed.For everyday use, the gvmake utility is much more convenient than using this module directly.WARNING: This module is highly experimental and is currently at alpha stage, so production use is strongly discouraged right now. Anyway, I have the plan to improve this stuff unfailingly. Requirements: · Perl


Makefile::GraphViz Related Software