diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 20:07:25 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 20:07:25 +0100 |
commit | f9903deb9c49d9b16bae6e7ecbecfdd80b924ba9 (patch) | |
tree | 1d42ec473f493b22eb2826196b182ce0d4a8939f | |
parent | eca90ecd12278b5ebc9b7288c1a9dbfeb09f6dff (diff) | |
download | mm-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.build | 2 |
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', |