diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 19:12:40 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 19:12:40 +0100 |
commit | bf3174f2d422968f86a8389a4c6892676df9cb50 (patch) | |
tree | 6a73aeb5d683545f035d1a896d81ff07320a0552 /docs | |
parent | 3cd4febc498c487006c4081c6f094391923d1def (diff) | |
download | sigc++-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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/reference/meson.build | 2 |
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', |