mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-26 22:36:02 +01:00
Pass version to sphinx (fixes: pwmt/zathura#32)
This commit is contained in:
parent
bab5848464
commit
edb260f8be
1 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,12 @@
|
|||
sphinx = find_program('sphinx-build')
|
||||
custom_target('man pages',
|
||||
command: [sphinx, '-b', 'man', join_paths(meson.current_source_dir(), 'man'), meson.current_build_dir()],
|
||||
command: [
|
||||
sphinx,
|
||||
'-b', 'man',
|
||||
'-D', 'version=' + version,
|
||||
'-D', 'release=' + version,
|
||||
join_paths(meson.current_source_dir(), 'man'),
|
||||
meson.current_build_dir()],
|
||||
output: ['zathura.1', 'zathurarc.5'],
|
||||
input: [
|
||||
'man/conf.py',
|
||||
|
|
Loading…
Reference in a new issue