Line 0
Link Here
|
|
|
1 |
--- doc/meson.build.orig 2018-02-26 15:29:28 UTC |
2 |
+++ doc/meson.build |
3 |
@@ -2,22 +2,12 @@ sphinx = find_program('sphinx-build', re |
4 |
|
5 |
if sphinx.found() |
6 |
custom_target( |
7 |
- 'HTML documentation', |
8 |
- output: 'html', |
9 |
- input: ['index.rst', 'conf.py'], |
10 |
- command: [sphinx, '-q', '-b', 'html', '-d', '@OUTDIR@/doctrees', meson.current_source_dir(), '@OUTPUT@'], |
11 |
- build_by_default: true, |
12 |
- install: true, |
13 |
- install_dir: join_paths(get_option('datadir'), 'doc', meson.project_name()), |
14 |
- ) |
15 |
- |
16 |
- custom_target( |
17 |
'Manpage documentation', |
18 |
output: 'man', |
19 |
input: ['index.rst', 'conf.py'], |
20 |
- command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/doctrees', meson.current_source_dir(), '@OUTPUT@'], |
21 |
+ command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/doctrees', meson.current_source_dir(), '@OUTPUT@/man1'], |
22 |
build_by_default: true, |
23 |
install: true, |
24 |
- install_dir: join_paths(get_option('datadir'), 'man', 'man1'), |
25 |
+ install_dir: join_paths(get_option('mandir')), |
26 |
) |
27 |
endif |