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:
10
meson.build
10
meson.build
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user