To make automatically added files render they have to be added to the $files,
$pages, $new, and $changed variables.
After that scan() is called on them.
scan($file);
}
+ while (my $autofile = shift (@autofiles)) {
+ my $page=pagename($autofile);
+ if ($pages->{$page}) {
+ debug(sprintf(gettext("%s has multiple possible source pages"), $page));
+ }
+ $pages->{$page}=1;
+
+ push @{$files}, $autofile;
+ push @{$new}, $autofile if find_new_files([$autofile]);
+ push @{$changed}, $autofile if find_changed([$autofile]);
+
+ scan($autofile);
+ }
+
calculate_links();
remove_del(@$del, @$internal_del);