Skip to content

Commit c5d7536

Browse files
AMDmi3caclark
authored andcommitted
Fix index.html symlink
Create relative symlink, as absolute one will point to temporary build directory
1 parent 87042fa commit c5d7536

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/meson.build

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ subdir('html')
1616
guideindex_xml = files('docbook/GuideIndex.xml')
1717
destdir = join_paths(meson.current_build_dir(), 'html/')
1818
iconsdir = join_paths(meson.current_source_dir(), 'icons/')
19-
guideindex_html = join_paths(destdir, 'GuideIndex.html')
2019
guideindex_ln = join_paths(destdir, 'index.html')
2120

2221
# Not-found notification already handled by ../meson.build
2322
if gnome_doc_tool.found()
2423
run_command(gnome_doc_tool, 'html', '-o', destdir, '-p', iconsdir, guideindex_xml, check : false)
25-
run_command(find_program('ln'), '-s', '-f', guideindex_html, guideindex_ln, check : false)
24+
run_command(find_program('ln'), '-s', '-f', 'GuideIndex.html', guideindex_ln, check : false)
2625
endif
2726

2827
install_subdir(destdir, install_dir : helpdir, exclude_directories : 'lua-api/latex')

0 commit comments

Comments
 (0)