aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/Makefile
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-07-31 16:53:06 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-07-31 16:53:06 +0200
commit463a3493d68f4e55930a570617334a9541385ad5 (patch)
tree7abb5c3d0123d0a79a598c36875594a7b7f697d3 /config-model/src/main/Makefile
parentb4fc7b0ea0f710b04ebe64c6c4a9f981b6b0c25d (diff)
Validate validation-overrides.xml files
Diffstat (limited to 'config-model/src/main/Makefile')
-rw-r--r--config-model/src/main/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/config-model/src/main/Makefile b/config-model/src/main/Makefile
index dea2aa9e9fe..b1c37f4889f 100644
--- a/config-model/src/main/Makefile
+++ b/config-model/src/main/Makefile
@@ -31,6 +31,12 @@ resources/schema/deployment.rng: resources/schema/deployment.rnc
resources/schema/deployment.xsd: resources/schema/deployment.rng
java -jar $(trangjar) -I rng -O xsd resources/schema/deployment.rng resources/schema/deployment.xsd
+resources/schema/validation-overrides.rng: resources/schema/validation-overrides.rnc
+ java -jar $(trangjar) -I rnc -O rng resources/schema/validation-overrides.rnc resources/schema/validation-overrides.rng
+
+resources/schema/deployment.xsd: resources/schema/validation-overrides.rng
+ java -jar $(trangjar) -I rng -O xsd resources/schema/validation-overrides.rng resources/schema/validation-overrides.xsd
+
clean:
rm -f resources/schema/*.rng
rm -f resources/schema/*.xsd