summaryrefslogtreecommitdiff
path: root/man/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'man/meson.build')
-rw-r--r--man/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/man/meson.build b/man/meson.build
index 691750c466..c945c662f5 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -52,7 +52,7 @@ foreach tuple : manpages
htmlaliases += [alias + '.html']
endforeach
- mandirn = get_option('mandir') + '/man' + section
+ mandirn = join_paths(get_option('mandir'), 'man' + section)
have = condition == '' or conf.get(condition, 0) == 1
@@ -74,7 +74,7 @@ foreach tuple : manpages
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_html_xsl, '@INPUT@'],
depend_files : custom_entities_ent,
install : want_html,
- install_dir : docdir + '/html')
+ install_dir : join_paths(docdir, 'html'))
html_pages += [p2]
source_xml_files += files(tuple[0] + '.xml')
@@ -107,7 +107,7 @@ foreach tuple : [['systemd.directives', '7', systemd_directives_xml],
html = stem + '.html'
man = stem + '.' + section
- mandirn = get_option('mandir') + '/man' + section
+ mandirn = join_paths(get_option('mandir'), 'man' + section)
p1 = custom_target(
man,
@@ -124,7 +124,7 @@ foreach tuple : [['systemd.directives', '7', systemd_directives_xml],
output : html,
command : [xsltproc, '-o', '@OUTPUT0@'] + xsltproc_flags + [custom_html_xsl, '@INPUT@'],
install : want_html,
- install_dir : docdir + '/html')
+ install_dir : join_paths(docdir, 'html'))
html_pages += [p2]
endforeach