1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

meson: fix installation of html doc aliases

Apparently since 9289e093ae, "ln_s" takes
*absolute* paths only.
This commit is contained in:
Franck Bui 2024-01-30 09:34:17 +01:00 committed by Luca Boccassi
parent 62670a7752
commit d537bf72ae

View File

@ -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