+ if ($d =~ /internal\(/) {
+ if ($depends{$p}{$d} & $IkiWiki::DEPEND_CONTENT) {
+ push @candidates, @internal, @internal_change;
+ }
+ elsif ($depends{$p}{$d} & $IkiWiki::DEPEND_PRESENCE) {
+ push @candidates, @internal;
+ }
+ }
+
+ foreach my $file (@candidates) {