mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:16:01 +01:00
Make sphinx optional again
This commit is contained in:
parent
fac4f7fea3
commit
a428e19b15
1 changed files with 32 additions and 30 deletions
|
@ -1,5 +1,6 @@
|
|||
sphinx = find_program('sphinx-build')
|
||||
custom_target('man pages',
|
||||
sphinx = find_program('sphinx-build', required: false)
|
||||
if sphinx.found()
|
||||
custom_target('man pages',
|
||||
command: [
|
||||
sphinx,
|
||||
'-b', 'man',
|
||||
|
@ -27,4 +28,5 @@ custom_target('man pages',
|
|||
join_paths(get_option('mandir'), 'man1'),
|
||||
join_paths(get_option('mandir'), 'man5')
|
||||
]
|
||||
)
|
||||
)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue