@@ -54,7 +54,7 @@ foreach tuple : xsltproc.found() ? manpages : []
5454 htmlaliases += alias + ' .html'
5555 endforeach
5656
57- mandirn = join_paths ( get_option (' mandir' ), ' man' + section)
57+ mandirn = get_option (' mandir' ) / ( ' man' + section)
5858
5959 if condition == '' or conf.get(condition) == 1
6060 p1 = custom_target (
@@ -74,7 +74,7 @@ foreach tuple : xsltproc.found() ? manpages : []
7474 output : htmlalias,
7575 command : [ln, ' -fs' , html, ' @OUTPUT@' ])
7676 if want_html
77- dst = join_paths ( docdir, ' html' , htmlalias)
77+ dst = docdir / ' html' / htmlalias
7878 cmd = ' ln -fs @0@ $DESTDIR@1@' .format(html, dst)
7979 meson .add_install_script(' sh' , ' -c' , cmd)
8080 p2 += link
@@ -89,7 +89,7 @@ foreach tuple : xsltproc.found() ? manpages : []
8989 command : xslt_cmd + [custom_html_xsl, ' @INPUT@' ],
9090 depends : [custom_entities_ent, p2],
9191 install : want_html,
92- install_dir : join_paths ( docdir, ' html' ) )
92+ install_dir : docdir / ' html' )
9393 html_pages += p3
9494
9595 file = files (tuple[0 ] + ' .xml' )
@@ -132,7 +132,7 @@ foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directiv
132132 html = stem + ' .html'
133133 man = stem + ' .' + section
134134
135- mandirn = join_paths ( get_option (' mandir' ), ' man' + section)
135+ mandirn = get_option (' mandir' ) / ( ' man' + section)
136136
137137 p1 = custom_target (
138138 man,
@@ -152,7 +152,7 @@ foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directiv
152152 output : htmlalias,
153153 command : [ln, ' -fs' , html, ' @OUTPUT@' ])
154154 if want_html
155- dst = join_paths ( docdir, ' html' , htmlalias)
155+ dst = docdir / ' html' / htmlalias
156156 cmd = ' ln -fs @0@ $DESTDIR@1@' .format(html, dst)
157157 meson .add_install_script(' sh' , ' -c' , cmd)
158158 p2 += link
@@ -167,7 +167,7 @@ foreach tuple : xsltproc.found() ? [['systemd.directives', '7', systemd_directiv
167167 command : xslt_cmd + [custom_html_xsl, ' @INPUT@' ],
168168 depends : [custom_entities_ent, p2],
169169 install : want_html and have_lxml,
170- install_dir : join_paths ( docdir, ' html' ) )
170+ install_dir : docdir / ' html' )
171171 html_pages += p3
172172endforeach
173173
0 commit comments