
The strings holding the names used for libraries have also been moved to different variables. This way they would be less error as these variables can be reused easily and any typing error would be quickly detected.
30 lines
700 B
Meson
30 lines
700 B
Meson
doc_module = nm_name
|
|
|
|
settings = 'settings-spec'
|
|
output = settings + '.xml'
|
|
|
|
settings_xml = custom_target(
|
|
output,
|
|
input: nm_settings_docs,
|
|
output: output,
|
|
command: [xsltproc, '--output', '@OUTPUT@', join_paths(meson.current_source_dir(), settings + '.xsl'), '@INPUT@'],
|
|
# FIXME: there is no target depending on this, so it will not be built
|
|
build_by_default: true
|
|
)
|
|
|
|
configure_file(
|
|
input: version_xml + '.in',
|
|
output: version_xml,
|
|
configuration: version_conf
|
|
)
|
|
|
|
content_files += join_paths(meson.source_root(), 'COPYING')
|
|
|
|
gnome.gtkdoc(
|
|
doc_module,
|
|
main_xml: 'network-manager-docs.xml',
|
|
src_dir: meson.current_source_dir(),
|
|
content_files: content_files,
|
|
install: true
|
|
)
|