diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 19:09:15 +0100 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2020-01-02 19:09:15 +0100 |
commit | fcfe5c21e3fa507b09ec44d670f244945c688b73 (patch) | |
tree | 79baebceb1af6ffd84489dad099203f962dd1587 | |
parent | 1758d4fcfcb0e95be0756c4e091de06d9753397c (diff) | |
download | sigc++-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.build | 2 |
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', |