[gedit/zbrown/deteplification-src: 185/633] build: avoid a global variable for gtkdocdir
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/zbrown/deteplification-src: 185/633] build: avoid a global variable for gtkdocdir
- Date: Sat, 10 Apr 2021 12:47:57 +0000 (UTC)
commit 352ff755cdd6a5604491bec809c285c3acccca98
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Mar 14 15:15:30 2020 +0100
build: avoid a global variable for gtkdocdir
To keep related things grouped together.
docs/reference/meson.build | 2 ++
meson.build | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index f46cba944..1c816b3c3 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -78,6 +78,8 @@ libgedit_reference_mkdb_args = [
'--name-space=gedit',
]
+gtkdocdir = join_paths(get_option('prefix'), get_option('datadir'), 'gtk-doc')
+
libgedit_reference_fixxref_args = [
'--html-dir=@0@'.format(join_paths(gtkdocdir, 'html', package_string)),
'--extra-dir=@0@'.format(glib_docpath),
diff --git a/meson.build b/meson.build
index 52ed19ba3..59f4b62e8 100644
--- a/meson.build
+++ b/meson.build
@@ -31,7 +31,6 @@ pkglibdir = join_paths(libdir, meson.project_name())
pkgdatadir = join_paths(datadir, meson.project_name())
glibdir = join_paths(datadir, 'glib-2.0')
-gtkdocdir = join_paths(datadir, 'gtk-doc')
vapidir = join_paths(datadir, 'vala', 'vapi')
# Subprojects
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]