Detect changes in reference.xml for code auto-generation.
Changes to reference.xml can affect the command-line documentation built into the binary so changes must trigger an auto-generated code build during smart builds.
@@ -507,7 +507,7 @@ eval
# Auto-generate C files
#-----------------------------------------------------------------------------------------------------------------------
- if (!$bSmart || grep(/^build\//, @stryModifiedList))
+ if (!$bSmart || grep(/^build\//, @stryModifiedList) || grep(/^doc\/xml\/reference\.xml/, @stryModifiedList))
{
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});
