1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

meson.build: fix more xmllint validation.

The authors.xml validation was also not run. This is nearly the last of
getting rid of run_target(). There is still the desktop file validation
but it doesn't have any output argument. We'll see how we update this
last one.

The only other usages of run_target() are proper usage (creating
'install-*' targets).
This commit is contained in:
Jehan
2021-06-18 16:09:25 +02:00
parent 2730361928
commit 2d6bf6dec5

View File

@@ -1551,12 +1551,16 @@ custom_target('authors.md',
)
if xmllint.found()
run_target('validate-authors',
custom_target('validate-authors',
command: [
xmllint,
'--noout',
'--valid', 'authors.xml',
'--output', '@OUTPUT@',
'--valid', '@INPUT@',
],
input : [ 'authors.xml', ],
output: [ 'validate-authors-output.xml' ],
build_by_default: true,
install: false
)
endif