summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 19:09:15 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 19:09:15 +0100
commitfcfe5c21e3fa507b09ec44d670f244945c688b73 (patch)
tree79baebceb1af6ffd84489dad099203f962dd1587
parent1758d4fcfcb0e95be0756c4e091de06d9753397c (diff)
downloadsigc++-fcfe5c21e3fa507b09ec44d670f244945c688b73.tar.gz
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/reference/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/reference/meson.build b/docs/reference/meson.build
index 24a68d8..60a0724 100644
--- a/docs/reference/meson.build
+++ b/docs/reference/meson.build
@@ -43,7 +43,7 @@ doc_conf_data.set('abs_top_builddir', built_files_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',