GraphViz::MakefileGraphViz::Makefile is a Perl module to create Makefile graphs using GraphViz. | |
Download |
GraphViz::Makefile Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Slaven Rezic
- Publisher web site:
- http://search.cpan.org/~srezic/
GraphViz::Makefile Tags
GraphViz::Makefile Description
GraphViz::Makefile is a Perl module to create Makefile graphs using GraphViz. GraphViz::Makefile is a Perl module to create Makefile graphs using GraphViz.SYNOPSIS use GraphViz::Makefile; my $gm = GraphViz::Makefile->new(undef, "Makefile"); $gm->generate("makefile-rule"); open(O, ">makefile.ps") or die $!; binmode O; print $gm->GraphViz->as_ps; close O;METHODSnew($graphviz, $makefile, $prefix, %args)Create a GraphViz::Makefile object. The first argument should be a GraphViz object or undef. In the latter case, a new GraphViz object is created by the constructor. The second argument should be a Make object, the filename of a Makefile, or undef. In the latter case, the default Makefile is used. The third argument $prefix is optional and can be used to prepend a prefix to all rule names in the graph output.Further arguments (specified as key-value pairs):reversed => 1Point arrows in the direction of dependencies. If not set, then the arrows point in the direction of "build flow".generate($rule)Generate the graph, beginning at the named Makefile rule. If $rule is not given, all is used instead.GraphVizReturn a reference to the GraphViz object. This object can be used for the output methods.MakeReturn a reference to the Make object.MEMBERSFor backward compatibility, the following members in the hash-based GraphViz::Makefile object may be used instead of the methods:GraphVizMake Requirements: · Perl
GraphViz::Makefile Related Software