29 lines
1.0 KiB
Diff
29 lines
1.0 KiB
Diff
# Reason: We only want to build man pages, not development docs
|
|
# Upstream: Patch was rejected - https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/689
|
|
diff --git a/meson.build b/meson.build
|
|
index 5e26346b207..e3e9e95423e 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -1009,9 +1009,7 @@ if enable_qt != 'false'
|
|
endif
|
|
|
|
if enable_docs
|
|
- assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
|
subdir('man')
|
|
- subdir('docs')
|
|
meson.add_dist_script(
|
|
'tools/meson-dist-data.sh',
|
|
'--build-root', build_root
|
|
diff --git a/src/libnmc-setting/meson.build b/src/libnmc-setting/meson.build
|
|
index 4d5079dfb39..8e335b95fbd 100644
|
|
--- a/src/libnmc-setting/meson.build
|
|
+++ b/src/libnmc-setting/meson.build
|
|
@@ -1,6 +1,6 @@
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
-if enable_docs
|
|
+if enable_docs and enable_introspection
|
|
assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
|
|
|
merge_cmd = files(source_root / 'tools' / 'generate-docs-nm-settings-docs-merge.py')
|