Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
9b4f2ac7
Commit
9b4f2ac7
authored
Sep 23, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/meson.build: kludge to fix manpage installation directory
Ugly workaround for
https://github.com/mesonbuild/meson/issues/1550
parent
c843bce9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
meson.build
doc/meson.build
+3
-6
No files found.
doc/meson.build
View file @
9b4f2ac7
...
...
@@ -39,16 +39,13 @@ if get_option('html_manual')
endif
if get_option('manpages')
# This installs all manpages in the "man1" subdirectory. Due to
# https://github.com/mesonbuild/meson/issues/1550 there appears to
# be no good solution with Meson. Sigh.
custom_target(
'Manpage documentation',
output:
'man1'
,
output:
['mpd.1', 'mpd.conf.5']
,
input: ['mpd.1.rst', 'conf.py'],
command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/man_doctrees', meson.current_source_dir(), '@OUT
PUT
@'],
command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/man_doctrees', meson.current_source_dir(), '@OUT
DIR
@'],
build_by_default: true,
install: true,
install_dir:
get_option('mandir')
,
install_dir:
[join_paths(get_option('mandir'), 'man1'), join_paths(get_option('mandir'), 'man5')]
,
)
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment