Skip to content

Commit

Permalink
meson: fix installation of html doc aliases
Browse files Browse the repository at this point in the history
Apparently since 9289e09, "ln_s" takes
*absolute* paths only.
  • Loading branch information
fbuihuu authored and bluca committed Jan 30, 2024
1 parent 62670a7 commit d537bf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions man/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d537bf7

Please sign in to comment.