build: only demand an xsltproc program when it is used
It's intrinsically used when building manpages, and also part of the introspection-specific parts of the documentation build. There's no particular guarantee either of those will actually be invoked during a build, so don't unconditionally look it up. This allows building with one fewer dependency in many cases.
This commit is contained in:

committed by
Íñigo Huguet

parent
872e626342
commit
897eed184a
@@ -89,7 +89,6 @@ po_dir = source_root / 'po'
|
||||
top_inc = include_directories('.')
|
||||
|
||||
perl = find_program('perl')
|
||||
xsltproc = find_program('xsltproc')
|
||||
|
||||
check_exports = find_program(join_paths(source_root, 'tools', 'check-exports.sh'))
|
||||
|
||||
|
Reference in New Issue
Block a user