mirror of
git://git.proxmox.com/git/pve-docs.git
synced 2025-03-09 08:58:19 +03:00
scan-adoc-refs: use extra loop to compute MAN_SOURCES
This commit is contained in:
parent
1d0bf93ce1
commit
df714d3f62
@ -370,6 +370,10 @@ if ($generate_depends) {
|
||||
}
|
||||
|
||||
my $man_sources_hash = {};
|
||||
foreach my $sourcefile (keys %{$fileinfo->{outfile}->{manvolnum}}) {
|
||||
$man_sources_hash->{$sourcefile} = 1;
|
||||
}
|
||||
|
||||
foreach my $e (@$start_env) {
|
||||
my $filelist = $fileinfo->{outfile}->{$e};
|
||||
foreach my $sourcefile (sort keys %$filelist) {
|
||||
@ -378,7 +382,6 @@ if ($generate_depends) {
|
||||
$res .= "$target: \$\{$varname\}\n\n";
|
||||
|
||||
if ($e eq 'manvolnum') {
|
||||
$man_sources_hash->{$sourcefile} = 1;
|
||||
|
||||
$res .= "$target.html: \$\{$varname\}\n\n";
|
||||
$res .= "$target-plain.html: \$\{$varname\}\n\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user