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:
Eli Schwartz
2024-11-20 02:22:02 -05:00
committed by Íñigo Huguet
parent 872e626342
commit 897eed184a
3 changed files with 3 additions and 2 deletions

View File

@@ -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'))