mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
docs: meson.build: Limit html files depending on 'aclperms.htmlinc'
Only 'acl.html' output file includes that file so there's no need to make everything depend on it. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
c2aca70777
commit
46b5e9a92e
@ -32,7 +32,6 @@ docs_assets = [
|
|||||||
|
|
||||||
docs_html_in_files = [
|
docs_html_in_files = [
|
||||||
'404',
|
'404',
|
||||||
'acl',
|
|
||||||
'aclpolkit',
|
'aclpolkit',
|
||||||
'api_extension',
|
'api_extension',
|
||||||
'api',
|
'api',
|
||||||
@ -199,6 +198,7 @@ docs_rst2html_gen = generator(
|
|||||||
# name - base file name (required)
|
# name - base file name (required)
|
||||||
# file - generated file (required)
|
# file - generated file (required)
|
||||||
# source - source filename relative to repository root (optional, if there is no source)
|
# source - source filename relative to repository root (optional, if there is no source)
|
||||||
|
# depends - explicit dependency on other input (optional)
|
||||||
docs_html_in_gen = []
|
docs_html_in_gen = []
|
||||||
|
|
||||||
foreach name : docs_html_in_files
|
foreach name : docs_html_in_files
|
||||||
@ -219,6 +219,13 @@ foreach name : docs_rst_files
|
|||||||
}
|
}
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
docs_html_in_gen += {
|
||||||
|
'name': 'acl.html',
|
||||||
|
'file': 'acl.html.in',
|
||||||
|
'source': 'docs' / 'acl.html.in',
|
||||||
|
'depends': aclperms_gen,
|
||||||
|
}
|
||||||
|
|
||||||
hvsupport_html_in = custom_target(
|
hvsupport_html_in = custom_target(
|
||||||
'hvsupport.html.in',
|
'hvsupport.html.in',
|
||||||
output: 'hvsupport.html.in',
|
output: 'hvsupport.html.in',
|
||||||
@ -272,7 +279,7 @@ foreach data : docs_html_in_gen
|
|||||||
'@OUTPUT@',
|
'@OUTPUT@',
|
||||||
data.get('source', []),
|
data.get('source', []),
|
||||||
],
|
],
|
||||||
depends: [ aclperms_gen ],
|
depends: data.get('depends', []),
|
||||||
depend_files: [ page_xsl ],
|
depend_files: [ page_xsl ],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: docs_html_dir,
|
install_dir: docs_html_dir,
|
||||||
|
Loading…
Reference in New Issue
Block a user