rebuild on template removal

master
Joey Hess 2010-04-24 21:13:53 -04:00
parent a1575b0c83
commit e05c9653ef
1 changed files with 1 additions and 1 deletions

View File

@ -593,7 +593,7 @@ sub render_dependent ($$$$$$$) {
my %lc_exists_changed = map { lc(pagename($_)) => 1 } @exists_changed; my %lc_exists_changed = map { lc(pagename($_)) => 1 } @exists_changed;
foreach my $p ("templates/page.tmpl", keys %{$depends_simple{""}}) { foreach my $p ("templates/page.tmpl", keys %{$depends_simple{""}}) {
if ($rendered{$p}) { if ($rendered{$p} || grep { $_ eq $p } @$del) {
foreach my $f (@$files) { foreach my $f (@$files) {
next if $rendered{$f}; next if $rendered{$f};
render($f, sprintf(gettext("building %s, which depends on %s"), $f, $p)); render($f, sprintf(gettext("building %s, which depends on %s"), $f, $p));