From d537bf72aeaeeaa01f7f50f88a463890e1c9945e Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 30 Jan 2024 09:34:17 +0100 Subject: [PATCH] meson: fix installation of html doc aliases Apparently since 9289e093ae6fd5484f9119e1ee07d1dffe37cd10, "ln_s" takes *absolute* paths only. --- man/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/meson.build b/man/meson.build index e4f2905d602..403098a8149 100644 --- a/man/meson.build +++ b/man/meson.build @@ -84,7 +84,7 @@ foreach tuple : manpages output : htmlalias, command : [ln, '-fs', html, '@OUTPUT@']) if want_html - meson.add_install_script(sh, '-c', ln_s.format(html, docdir / 'html' / htmlalias)) + meson.add_install_script(sh, '-c', ln_s.format(docdir / 'html' / html, docdir / 'html' / htmlalias)) p2 += link endif html_pages += link @@ -155,7 +155,7 @@ foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directiv output : htmlalias, command : [ln, '-fs', html, '@OUTPUT@']) if want_html - meson.add_install_script(sh, '-c', ln_s.format(html, docdir / 'html' / htmlalias)) + meson.add_install_script(sh, '-c', ln_s.format(docdir / 'html' / html, docdir / 'html' / htmlalias)) p2 += link endif html_pages += link