Commits

Michael[tm] Smith committed a8ce0e4

move legacy.rnc to syntax/relaxng dir during build (b=480,r=hsivonen)
http://bugzilla.validator.nu/show_bug.cgi?id=480

  • Participants
  • Parent commits 798649a

Comments (0)

Files changed (1)

 
 def buildSchemaDrivers():
   schemaDir = os.path.join(buildRoot, "syntax", "relaxng")
+  legacyRnc = os.path.join(os.path.join(buildRoot, "validator", "schema", "legacy", "legacy.rnc"))
   buildSchemaDriverHtmlCore(schemaDir)
   buildSchemaDriverHtml5(schemaDir)
   buildSchemaDriverHtml5Aria(schemaDir)
   buildSchemaDriverXhtml5xhtml(schemaDir)
   buildSchemaDriverXhtml5Aria(schemaDir)
   buildSchemaDriverXhtml5AriaRdfa(schemaDir)
+  removeIfExists(os.path.join(schemaDir, "legacy.rnc"))
+  shutil.copy(legacyRnc, schemaDir)
 
 #################################################################
 # start of data and functions for building schema drivers