[jhbuild] Fix rnc validation by adding the new bootstrap attribute there as well.



commit ce69ff69ba845d04272de65579274a80eaaec23b
Author: Christoph Reiter <creiter src gnome org>
Date:   Wed Feb 17 08:37:55 2016 +0100

    Fix rnc validation by adding the new bootstrap attribute there as well.
    
    Also make it stricter and only allow true|false in both dtd/rnc.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762025

 modulesets/moduleset.dtd |    2 +-
 modulesets/moduleset.rnc |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/modulesets/moduleset.dtd b/modulesets/moduleset.dtd
index 88d5d0a..08158ce 100644
--- a/modulesets/moduleset.dtd
+++ b/modulesets/moduleset.dtd
@@ -60,7 +60,7 @@
        makeinstallargs CDATA   #IMPLIED
        autogen-sh      CDATA   #IMPLIED
        makefile        CDATA   #IMPLIED
-       bootstrap       CDATA   #IMPLIED
+       bootstrap       (true|false) "false"
        skip-autogen    (true|false|never) "false"
        uninstall-before-install (true|false) "false"
        supports-non-srcdir-builds (yes|no) "yes"
diff --git a/modulesets/moduleset.rnc b/modulesets/moduleset.rnc
index b25a36a..c54b68b 100644
--- a/modulesets/moduleset.rnc
+++ b/modulesets/moduleset.rnc
@@ -86,6 +86,7 @@ attlist.autotools &=
   attribute makeinstallargs { text }?,
   attribute autogen-sh { text }?,
   attribute makefile { text }?,
+  attribute bootstrap { "true" | "false" }?,
   [ a:defaultValue = "false" ]
   attribute skip-autogen { "true" | "false" | "never" }?,
   [ a:defaultValue = "yes" ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]