From: Omari Stephens Date: Wed, 27 Jul 2022 17:49:47 +0000 (+0000) Subject: No longer attempts to run yelp-build from the docs build if it wasn't found previously. X-Git-Tag: v2.0~20 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=599b71626e4c67a339e2b5f7485dd39aba5f00c3 No longer attempts to run yelp-build from the docs build if it wasn't found previously. --- diff --git a/doc/meson.build b/doc/meson.build index ac847fee..fb7f8d6e 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -19,8 +19,11 @@ iconsdir = join_paths(meson.current_source_dir(), 'icons/') guideindex_html = join_paths(destdir, 'GuideIndex.html') guideindex_ln = join_paths(destdir, 'index.html') -run_command(gnome_doc_tool, 'html', '-o', destdir, '-p', iconsdir, guideindex_xml, check : false) -run_command(find_program('ln'), '-s', '-f', guideindex_html, guideindex_ln, check : false) +# Not-found notification already handled by ../meson.build +if gnome_doc_tool.found() + run_command(gnome_doc_tool, 'html', '-o', destdir, '-p', iconsdir, guideindex_xml, check : false) + run_command(find_program('ln'), '-s', '-f', guideindex_html, guideindex_ln, check : false) +endif install_subdir(destdir, install_dir : helpdir, exclude_directories : 'lua-api/latex')