From ca0a99a460add17bd41e588aad64a991cabf2983 Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Tue, 19 Jul 2022 09:27:13 +0100 Subject: [PATCH] Bug fix: Meson - symlink missing The symlink from GuideIndex.html to index.html was missing --- doc/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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') -- 2.20.1