Skip to content

Commit 09aa951

Browse files
committed
doc: prefix local mandir and htmldir paths
The man and html documenation directory should use the user defined prefixdir. Ideally, this would be fixed in the main meson.build. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 7d7d33c commit 09aa951

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@ adoc_includes = [
268268
]
269269

270270
if want_docs != 'false'
271-
mandir = join_paths(get_option('mandir'), 'man1')
272-
htmldir = join_paths(get_option('htmldir'), 'nvme')
271+
mandir = join_paths(prefixdir, get_option('mandir'), 'man1')
272+
htmldir = join_paths(prefixdir, get_option('htmldir'), 'nvme')
273273

274274
asciidoctor = find_program('asciidoc', required: want_docs_build)
275275
if want_docs_build and asciidoctor.found()

0 commit comments

Comments
 (0)