[jhbuild] make check: validate moduleset.rnc using trang and xmllint
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] make check: validate moduleset.rnc using trang and xmllint
- Date: Wed, 17 Feb 2016 08:50:13 +0000 (UTC)
commit 7c8d34736c38047ff48c5ce3fd3107587ac7bf67
Author: Christoph Reiter <creiter src gnome org>
Date: Wed Feb 17 08:40:34 2016 +0100
make check: validate moduleset.rnc using trang and xmllint
https://bugzilla.gnome.org/show_bug.cgi?id=762025
.gitignore | 1 +
Makefile.am | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a46c099..9eb9508 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ Makefile
Makefile.in
autom4te.cache/
config*.lineno
+moduleset.rng
mo/
/ABOUT-NLS
/ChangeLog
diff --git a/Makefile.am b/Makefile.am
index b588c1d..b47518d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,9 +39,11 @@ install-exec-local:
# This is a lower-level check than `jhbuild checkmodulesets` (which analyses the
# module graph), and doesn't require jhbuild to be built and installed.
#
-# This will fail if xmllint isn't installed.
+# This will fail if xmllint or trang isn't installed.
check-modulesets:
xmllint --noout --dtdvalid $(srcdir)/modulesets/moduleset.dtd $(MODULESETS)
+ trang $(srcdir)/modulesets/moduleset.rnc $(srcdir)/modulesets/moduleset.rng
+ xmllint --noout --relaxng $(srcdir)/modulesets/moduleset.rng $(MODULESETS)
.PHONY: check-modulesets
check: check-modulesets
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]