From: Nicholas Clark Date: Tue, 20 Dec 2011 10:33:26 +0000 (+0100) Subject: pod_rules.pl was always (re)building everything, not what was asked for. X-Git-Tag: accepted/trunk/20130322.191538~1634 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45464ee1c638f2c796bf8d0adb631a58174e1108;p=platform%2Fupstream%2Fperl.git pod_rules.pl was always (re)building everything, not what was asked for. The bug was introduced by commit b78c110439167132, which split Porting/pod_rules.pl out from pod/buildtoc. The previous code in buildtoc would correctly honour the command line options, and only (re)build the requested files. --- diff --git a/Porting/pod_rules.pl b/Porting/pod_rules.pl index d23f86f..689219a 100644 --- a/Porting/pod_rules.pl +++ b/Porting/pod_rules.pl @@ -268,7 +268,7 @@ pod/$_: pod/$state->{copies}{$_} } # Do stuff -while (my ($target, $name) = each %Targets) { +while (my ($target, $name) = each %Build) { print "Now processing $name\n" if $Verbose; my $orig = slurp_or_die($name);