mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 19:48:03 +00:00
scan-adoc-refs: include all sources in MANUAL_SOURCES
This commit is contained in:
parent
df714d3f62
commit
cef5157681
1
Makefile
1
Makefile
@ -30,7 +30,6 @@ include ./pve-doc-generator.mk
|
|||||||
GEN_DEB_SOURCES= \
|
GEN_DEB_SOURCES= \
|
||||||
pve-doc-generator.mk \
|
pve-doc-generator.mk \
|
||||||
${MANUAL_SOURCES} \
|
${MANUAL_SOURCES} \
|
||||||
${PVESM_ADOCSOURCES} \
|
|
||||||
pmxcfs.8-synopsis.adoc \
|
pmxcfs.8-synopsis.adoc \
|
||||||
docinfo.xml
|
docinfo.xml
|
||||||
|
|
||||||
|
@ -372,6 +372,12 @@ if ($generate_depends) {
|
|||||||
my $man_sources_hash = {};
|
my $man_sources_hash = {};
|
||||||
foreach my $sourcefile (keys %{$fileinfo->{outfile}->{manvolnum}}) {
|
foreach my $sourcefile (keys %{$fileinfo->{outfile}->{manvolnum}}) {
|
||||||
$man_sources_hash->{$sourcefile} = 1;
|
$man_sources_hash->{$sourcefile} = 1;
|
||||||
|
my $ihash = $fileinfo->{include}->{manvolnum}->{$sourcefile};
|
||||||
|
foreach my $include (keys %$ihash) {
|
||||||
|
if ($include !~ m/-(opts|synopsis).adoc$/) {
|
||||||
|
$man_sources_hash->{$include} = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach my $e (@$start_env) {
|
foreach my $e (@$start_env) {
|
||||||
|
Loading…
Reference in New Issue
Block a user