use copydep to regenerate version files if version.properties changes

This commit is contained in:
Doug MacEachern 2006-07-13 23:03:18 +00:00
parent 93b3e261c5
commit b62d3c3d3e
1 changed files with 4 additions and 2 deletions

View File

@ -93,8 +93,10 @@
<property name="version.tofile" <property name="version.tofile"
value="${build}/${version.file.dstdir}/${version.file}"/> value="${build}/${version.file.dstdir}/${version.file}"/>
<copy file="${version.file.srcdir}/${version.file}.in" <!-- regenerate if version.properties changes -->
tofile="${version.tofile}"/> <copydep file="${version.file.srcdir}/${version.file}.in"
tofile="${version.tofile}"
depends="version.properties"/>
<replace file="${version.tofile}"> <replace file="${version.tofile}">
<replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/> <replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/>