From: Colin Clark Date: Tue, 19 Jul 2022 08:27:13 +0000 (+0100) Subject: Bug fix: Meson - symlink missing X-Git-Tag: v2.0~28 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=ca0a99a460add17bd41e588aad64a991cabf2983 Bug fix: Meson - symlink missing The symlink from GuideIndex.html to index.html was missing --- diff --git a/doc/meson.build b/doc/meson.build index e9025b10..f5a65186 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -13,11 +13,14 @@ subdir('html') -guideindex = files('docbook/GuideIndex.xml') +guideindex_xml = files('docbook/GuideIndex.xml') destdir = join_paths(meson.project_build_root(), 'doc', 'html/') iconsdir = join_paths(meson.project_source_root(), 'doc', '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, check : false) +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) install_subdir(destdir, install_dir : helpdir, install_tag : 'help')