Daniel Pfeiffer > makepp > Mpp::Subs

Download:
makepp-2.0.98.2.tgz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  1
View/Report Bugs
Source   Latest Release: makepp-2.0.98.5

NAME ^

Mpp::Subs - Functions and statements for makefiles

DESCRIPTION ^

This package contains subroutines which can be called from a makefile. Subroutines in this package are called in two ways:

1)

Any line which isn't a rule or an assignment and has at the left margin a word is interpreted as a subroutine call to a subroutine in the makefile package, or if not in the makefile package, in this package. "s_" is prefixed to the name before the Perl function is looked up.

2)

Any function that is in a make expression (e.g., $(xyz abc)) attempts to call a Perl function in the make package, and failing that, in this package. "f_" is prefixed to the name first.

All official subroutine names in this package are automatically exported to each makefile package by Mpp::Makefile::load. See the regexps in import, for which ones are official.

syntax highlighting: