mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:56:00 +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,4 +1,5 @@
|
||||||
sphinx = find_program('sphinx-build')
|
sphinx = find_program('sphinx-build', required: false)
|
||||||
|
if sphinx.found()
|
||||||
custom_target('man pages',
|
custom_target('man pages',
|
||||||
command: [
|
command: [
|
||||||
sphinx,
|
sphinx,
|
||||||
|
@ -28,3 +29,4 @@ custom_target('man pages',
|
||||||
join_paths(get_option('mandir'), 'man5')
|
join_paths(get_option('mandir'), 'man5')
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in a new issue