summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authormikhailnov <mikhailnov@dumalogiya.ru>2022-09-09 14:29:28 +0000
committerJan Rybar <jrybar@redhat.com>2022-09-09 14:29:28 +0000
commitc83b2f61933d346df60269b2884414454d7b78a4 (patch)
tree1e75c6369f85c4c4e6d8cac4d35a5a03100a4c0a /docs
parenta405b3e00ac24ae21ea36834cfc61cbae041bf39 (diff)
downloadpolkit-c83b2f61933d346df60269b2884414454d7b78a4.tar.gz
docs: fix building with meson 0.61.1
Diffstat (limited to 'docs')
-rw-r--r--docs/meson.build6
-rw-r--r--docs/polkit/meson.build8
2 files changed, 7 insertions, 7 deletions
diff --git a/docs/meson.build b/docs/meson.build
index d4a0548..0d78099 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -19,11 +19,5 @@ if enable_gtk_doc
configuration: {'VERSION': pk_version},
)
- html_images = files(
- 'polkit-architecture.png',
- 'polkit-authentication-agent-example.png',
- 'polkit-authentication-agent-example-wheel.png',
- )
-
subdir('polkit')
endif
diff --git a/docs/polkit/meson.build b/docs/polkit/meson.build
index 297a261..7c5f5a0 100644
--- a/docs/polkit/meson.build
+++ b/docs/polkit/meson.build
@@ -15,6 +15,12 @@ content_files += files(
'docbook-interface-org.freedesktop.PolicyKit1.Authority.xml',
)
+html_images = [
+ '../polkit-architecture.png',
+ '../polkit-authentication-agent-example.png',
+ '../polkit-authentication-agent-example-wheel.png',
+]
+
gnome.gtkdoc(
doc_module,
main_xml: doc_module + '-docs.xml',
@@ -24,7 +30,7 @@ gnome.gtkdoc(
namespace: meson.project_name(),
html_assets: html_images,
fixxref_args: '--html-dir=' + pk_api_docpath,
- gobject_typesfile: files(doc_module + '.types'),
+ gobject_typesfile: doc_module + '.types',
content_files: content_files,
install: true,
)