From c5d75369a5643cc06ba7d48bafc43c5076c74132 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 31 Aug 2022 19:20:16 +0300 Subject: [PATCH] Fix index.html symlink Create relative symlink, as absolute one will point to temporary build directory --- doc/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/meson.build b/doc/meson.build index fb7f8d6e..f8fa5235 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -16,13 +16,12 @@ subdir('html') guideindex_xml = files('docbook/GuideIndex.xml') destdir = join_paths(meson.current_build_dir(), 'html/') iconsdir = join_paths(meson.current_source_dir(), 'icons/') -guideindex_html = join_paths(destdir, 'GuideIndex.html') guideindex_ln = join_paths(destdir, 'index.html') # 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) + 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') -- 2.20.1