30 lines
1.0 KiB
Diff
30 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 996617f4ca..fb4a914470 100644
|
|
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -952,10 +952,8 @@ if enable_qt
|
|
endif
|
|
|
|
if enable_docs
|
|
- assert(enable_introspection, '-Ddocs=true requires -Dintrospection=true')
|
|
assert(meson.version().version_compare('>= 0.46.0'), '-Ddocs requires meson >= 0.46')
|
|
subdir('man')
|
|
- subdir('docs')
|
|
endif
|
|
|
|
configure_file(
|
|
diff --git a/src/libnmc-setting/meson.build b/src/libnmc-setting/meson.build
|
|
index 49314cad2e..376ec4e740 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')
|
|
settings_docs_input_xml = custom_target(
|
|
'settings-docs-input.xml',
|