"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Automake/Rule.pm" between
automake-1.16.2.tar.xz and automake-1.16.3.tar.xz

About: GNU Automake is a Makefile generator (input Makefile.am, output Makefile.in; intended for use with autoconf).

Rule.pm  (automake-1.16.2.tar.xz):Rule.pm  (automake-1.16.3.tar.xz)
skipping to change at line 20 skipping to change at line 20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
package Automake::Rule; package Automake::Rule;
use 5.006; use 5.006;
use strict; use strict;
use warnings FATAL => 'all';
use Carp; use Carp;
use Exporter;
use Automake::Item; use Automake::Item;
use Automake::RuleDef; use Automake::RuleDef;
use Automake::ChannelDefs; use Automake::ChannelDefs;
use Automake::Channels; use Automake::Channels;
use Automake::Options; use Automake::Options;
use Automake::Condition qw (TRUE FALSE); use Automake::Condition qw (TRUE FALSE);
use Automake::DisjConditions; use Automake::DisjConditions;
require Exporter;
use vars '@ISA', '@EXPORT', '@EXPORT_OK'; our @ISA = qw (Automake::Item Exporter);
@ISA = qw/Automake::Item Exporter/; our @EXPORT = qw (reset register_suffix_rule next_in_suffix_chain
@EXPORT = qw (reset register_suffix_rule next_in_suffix_chain suffixes rules $KNOWN_EXTENSIONS_PATTERN
suffixes rules $KNOWN_EXTENSIONS_PATTERN depend %dependencies %actions register_action
depend %dependencies %actions register_action accept_extensions
accept_extensions reject_rule msg_rule msg_cond_rule err_rule err_cond_rule
reject_rule msg_rule msg_cond_rule err_rule err_cond_rule rule rrule ruledef rruledef);
rule rrule ruledef rruledef);
=head1 NAME =head1 NAME
Automake::Rule - support for rules definitions Automake::Rule - support for rules definitions
=head1 SYNOPSIS =head1 SYNOPSIS
use Automake::Rule; use Automake::Rule;
use Automake::RuleDef; use Automake::RuleDef;
skipping to change at line 122 skipping to change at line 124
=item C<%dependencies> =item C<%dependencies>
Holds the dependencies of targets which dependencies are factored. Holds the dependencies of targets which dependencies are factored.
Typically, C<.PHONY> will appear in plenty of F<*.am> files, but must Typically, C<.PHONY> will appear in plenty of F<*.am> files, but must
be output once. Arguably all pure dependencies could be subject to be output once. Arguably all pure dependencies could be subject to
this factoring, but it is not unpleasant to have paragraphs in this factoring, but it is not unpleasant to have paragraphs in
Makefile: keeping related stuff altogether. Makefile: keeping related stuff altogether.
=cut =cut
use vars '%dependencies'; our %dependencies;
=item <%actions> =item <%actions>
Holds the factored actions. Tied to C<%dependencies>, i.e., filled Holds the factored actions. Tied to C<%dependencies>, i.e., filled
only when keys exists in C<%dependencies>. only when keys exists in C<%dependencies>.
=cut =cut
use vars '%actions'; our %actions;
=item C<$KNOWN_EXTENSIONS_PATTERN> =item C<$KNOWN_EXTENSIONS_PATTERN>
Pattern that matches all know input extensions (i.e. extensions used Pattern that matches all know input extensions (i.e. extensions used
by the languages supported by Automake). Using this pattern (instead by the languages supported by Automake). Using this pattern (instead
of '\..*$') to match extensions allows Automake to support dot-less of '\..*$') to match extensions allows Automake to support dot-less
extensions. extensions.
New extensions should be registered with C<accept_extensions>. New extensions should be registered with C<accept_extensions>.
=cut =cut
use vars qw ($KNOWN_EXTENSIONS_PATTERN); our $KNOWN_EXTENSIONS_PATTERN = "";
$KNOWN_EXTENSIONS_PATTERN = "";
=back =back
=head2 Error reporting functions =head2 Error reporting functions
In these functions, C<$rule> can be either a rule name, or In these functions, C<$rule> can be either a rule name, or
an instance of C<Automake::Rule>. an instance of C<Automake::Rule>.
=over 4 =over 4
 End of changes. 6 change blocks. 
13 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)