From e491df336745dbd138988e7b81ab3b1077818ebd Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 19 Oct 2022 18:08:18 -0400 Subject: [PATCH] meson: only run doxygen when building from git It uses git commands. --- doc/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- 2.20.1