summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-26 15:23:25 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2021-03-26 15:23:25 +0100
commit473f835911ca967a178edad3c6dd8c69183c2038 (patch)
treed8af7df1d595149ef2e1068ff631e7ab8193f32b /docs
parentf4f6dff1c96f60b93e47d6850a43e3e747ce3154 (diff)
Meson build: Make it possible to use cairomm as a subproject
cairo and sigc++ can be subprojects of cairomm.
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index c0fa34a..aebc8b9 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -3,7 +3,7 @@
# Input: project_build_root, project_source_root, cairomm_pcname,
# build_documentation, source_h_files, install_datadir, python3,
# doc_reference_py
-# Output: install_docdir, install_devhelpdir, book_name
+# Output: install_docdir, install_devhelpdir, book_name, tag_file
# There are no built source files in cairomm.
@@ -16,9 +16,9 @@ docinstall_flags = []
foreach module : tag_file_modules
depmod = dependency(module, required: false)
if depmod.found()
- doxytagfile = depmod.get_pkgconfig_variable('doxytagfile')
- htmlrefpub = depmod.get_pkgconfig_variable('htmlrefpub', default: '')
- htmlrefdir = depmod.get_pkgconfig_variable('htmlrefdir', default: '')
+ doxytagfile = depmod.get_variable(pkgconfig: 'doxytagfile', internal: 'doxytagfile')
+ htmlrefpub = depmod.get_variable(pkgconfig: 'htmlrefpub', internal: 'htmlrefpub', default_value: '')
+ htmlrefdir = depmod.get_variable(pkgconfig: 'htmlrefdir', internal: 'htmlrefdir', default_value: '')
if htmlrefpub == ''
htmlrefpub = htmlrefdir
elif htmlrefdir == ''