--- a/ttml1/spec/build.xml Sun Aug 25 10:49:10 2013 -0600
+++ b/ttml1/spec/build.xml Sun Aug 25 11:00:05 2013 -0600
@@ -321,4 +321,34 @@
</delete>
</target>
+ <target name="kwexpand">
+ <exec executable="hg">
+ <arg value="kwexpand"/>
+ <arg value="ttml1.xml"/>
+ </exec>
+ </target>
+
+ <target name="kwshrink">
+ <exec executable="hg">
+ <arg value="kwshrink"/>
+ <arg value="ttml1.xml"/>
+ </exec>
+ </target>
+
+ <target name="rg" description="Regenerate using shortened generation, while expanding keywords."
+ depends="kwexpand,sg,kwshrink">
+ </target>
+
+ <target name="commit">
+ <exec executable="hg">
+ <arg value="commit"/>
+ <arg value="-m"/>
+ <arg value="[ttml1] regenerate ED"/>
+ </exec>
+ </target>
+
+ <target name="rgc" description="Regenerate and commit."
+ depends="rg,commit">
+ </target>
+
</project>
--- a/ttml2/spec/build.xml Sun Aug 25 10:49:10 2013 -0600
+++ b/ttml2/spec/build.xml Sun Aug 25 11:00:05 2013 -0600
@@ -213,4 +213,34 @@
depends="generate-schema-archives,validate-tt-specs-dont-build-escapes,html">
</target>
+ <target name="kwexpand">
+ <exec executable="hg">
+ <arg value="kwexpand"/>
+ <arg value="ttml2.xml"/>
+ </exec>
+ </target>
+
+ <target name="kwshrink">
+ <exec executable="hg">
+ <arg value="kwshrink"/>
+ <arg value="ttml2.xml"/>
+ </exec>
+ </target>
+
+ <target name="rg" description="Regenerate using shortened generation, while expanding keywords."
+ depends="kwexpand,sg,kwshrink">
+ </target>
+
+ <target name="commit">
+ <exec executable="hg">
+ <arg value="commit"/>
+ <arg value="-m"/>
+ <arg value="[ttml2] regenerate ED"/>
+ </exec>
+ </target>
+
+ <target name="rgc" description="Regenerate and commit."
+ depends="rg,commit">
+ </target>
+
</project>