use copydep to regenerate version files if version.properties changes
This commit is contained in:
parent
93b3e261c5
commit
b62d3c3d3e
|
@ -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}"/>
|
||||||
|
|
Loading…
Reference in New Issue