summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 19:12:40 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 19:12:40 +0100
commitbf3174f2d422968f86a8389a4c6892676df9cb50 (patch)
tree6a73aeb5d683545f035d1a896d81ff07320a0552
parent3cd4febc498c487006c4081c6f094391923d1def (diff)
downloadsigc++-bf3174f2d422968f86a8389a4c6892676df9cb50.tar.gz
docs/docs/reference/meson.build: Check if perl is found
Don't use perl.path() when configuring Doxyfile, if perl is not found. Perl is not required, if build-documentation=false. Fixes #53
-rw-r--r--docs/docs/reference/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docs/reference/meson.build b/docs/docs/reference/meson.build
index 9977ace..98e69a3 100644
--- a/docs/docs/reference/meson.build
+++ b/docs/docs/reference/meson.build
@@ -44,7 +44,7 @@ doc_conf_data.set('abs_top_builddir', project_build_root)
doc_conf_data.set('abs_top_srcdir', project_source_root)
doc_conf_data.set('SIGCXX_API_VERSION', sigcxx_api_version)
doc_conf_data.set('DOXYGEN_TAGFILES', doxygen_tagfiles)
-doc_conf_data.set('PERL', perl.path())
+doc_conf_data.set('PERL', perl.found() ? perl.path() : '')
configure_file(
input: 'Doxyfile.in',