ExtUtils::Builder::Node(3pm)

ExtUtils::Builder::Node3pm

An extutils::builder node

Usage

 ExtUtils::Builder::Node->new(
     target       => $target_name,
     dependencies => \@dependencies,
     actions      => \@actions,
 );

Version

version 0.017

Overview

A node is the equivalent of a makefile entry. In essence it boils down to its three attributes: "target" (the name of the target), "dependencies"(the names of the dependencies) and "actions". A Node is a composite action, meaning that in can be executed or serialized as a whole.

Attributes

target

The target filename of this node.

dependencies

The (file)names of the dependencies of this node.

actions

A list of actions for this node.

type

This must be one of "file" or "phony". In the latter case the target will not be represented on the filesystem.

phony

Deprecated.

Instead, pass "type => 'phony'"

Methods

mergeable

This returns true if a node is mergeable, i.e. it's phony and has no actions.

Author

Leon Timmermans <[email protected]>

From libextutils-builder-perl 0.017-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.