-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Expand file tree
/
Copy pathno-gtk-doc.patch
More file actions
28 lines (25 loc) · 1.01 KB
/
no-gtk-doc.patch
File metadata and controls
28 lines (25 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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')