summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2022-05-10 15:39:24 +0200
committerBenjamin Berg <bberg@redhat.com>2022-05-10 15:39:24 +0200
commitbaa14729a081b3ba2a1a415ef6c9cf0458ef3bac (patch)
tree30daf8509cd316f873fb339d8b60a1c7c6ed6ad0 /doc
parenta87cb420cd3a0beeafc2c2e7c45f7590e61ad380 (diff)
downloadupower-baa14729a081b3ba2a1a415ef6c9cf0458ef3bac.tar.gz
meson: Bump meson version and fix deprecations
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 5fc253c..180d3e9 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -2,7 +2,7 @@ subdir('man')
ifaces_refs = []
-dbus_dir = join_paths(meson.source_root(), 'dbus')
+dbus_dir = join_paths(meson.project_source_root(), 'dbus')
spec_to_docbook = files('spec-to-docbook.xsl')
foreach iface: upowerd_dbus_interfaces
@@ -30,7 +30,7 @@ version_xml = configure_file(
if get_option('gtk-doc')
gnome.gtkdoc('UPower',
main_xml: 'upower-docs.xml',
- src_dir: meson.source_root() / 'libupower-glib',
+ src_dir: meson.project_source_root() / 'libupower-glib',
dependencies: [ libupower_glib_dep ],
scan_args: ['--rebuild-types', '--rebuild-sections'],
content_files: [