summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 20:07:25 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2020-01-02 20:07:25 +0100
commitf9903deb9c49d9b16bae6e7ecbecfdd80b924ba9 (patch)
tree1d42ec473f493b22eb2826196b182ce0d4a8939f
parenteca90ecd12278b5ebc9b7288c1a9dbfeb09f6dff (diff)
downloadmm-common-f9903deb9c49d9b16bae6e7ecbecfdd80b924ba9.tar.gz
skeletonmm/doc/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. See https://github.com/libsigcplusplus/libsigcplusplus/issues/53
-rw-r--r--skeletonmm/doc/reference/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/skeletonmm/doc/reference/meson.build b/skeletonmm/doc/reference/meson.build
index 9611195..7344252 100644
--- a/skeletonmm/doc/reference/meson.build
+++ b/skeletonmm/doc/reference/meson.build
@@ -44,7 +44,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('SKELETONMM_MODULE_NAME', book_name)
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',