generate version files regardless of version.properties

This commit is contained in:
Doug MacEachern 2008-08-10 03:30:30 +00:00
parent 34d093981d
commit 6e94034741
1 changed files with 3 additions and 4 deletions

View File

@ -109,10 +109,9 @@
<property name="version.tofile" <property name="version.tofile"
value="${build}/${version.file.dstdir}/${version.file}"/> value="${build}/${version.file.dstdir}/${version.file}"/>
<!-- regenerate if version.properties changes --> <echo>cp ${version.file.srcdir}/${version.file}.in -> ${version.tofile}</echo>
<copydep file="${version.file.srcdir}/${version.file}.in" <copy file="${version.file.srcdir}/${version.file}.in"
tofile="${version.tofile}" 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}"/>