Prevent HTML to be rebuilt when there is no new log entry.

This commit is contained in:
Darold Gilles 2014-08-11 15:42:32 +02:00
parent 4a1ff75a35
commit 5e23057a7a

View File

@ -1687,6 +1687,12 @@ sub buildHTML
{
my ($self, $outdir) = @_;
# No new log registered, no html buid required
if (!$self->{last_year} && !$self->{last_month} && !$self->{last_day}) {
print STDERR "Skipping HTML build.\n" if (!$self->{QuietMode});
return;
}
$outdir ||= $self->{Output};
print STDERR "Building HTML output into $outdir\n" if (!$self->{QuietMode});