From: Eli Schwartz Date: Wed, 19 Oct 2022 22:08:18 +0000 (-0400) Subject: meson: only run doxygen when building from git X-Git-Tag: v2.1~129 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=e491df336745dbd138988e7b81ab3b1077818ebd meson: only run doxygen when building from git It uses git commands. --- diff --git a/doc/meson.build b/doc/meson.build index f8fa5235..f2f50432 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -27,7 +27,7 @@ endif install_subdir(destdir, install_dir : helpdir, exclude_directories : 'lua-api/latex') doxygen = find_program('doxygen', required : false) -if doxygen.found() +if doxygen.found() and running_from_git srcdir = join_paths(meson.source_root()) destdir = join_paths(meson.build_root(), 'doc', 'html', 'lua-api')