filter sigar.def

This commit is contained in:
Doug MacEachern 2005-08-28 07:09:24 +00:00
parent ca9d9b63c7
commit d7903b7542
1 changed files with 9 additions and 0 deletions

View File

@ -101,6 +101,15 @@
<replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/> <replacefilter token="@@BUILD_DATE@@" value="${BUILD_DATE}"/>
<replacefilter token="@@VERSION_STRING@@" value="${sigar.version}"/> <replacefilter token="@@VERSION_STRING@@" value="${sigar.version}"/>
</replace> </replace>
<copy file="../../src/os/netware/sigar.def.in"
tofile="${build}/sigar.def"/>
<replace file="${build}/sigar.def">
<replacefilter token="@@VERSION_MAJOR@@" value="${version.major}"/>
<replacefilter token="@@VERSION_MINOR@@" value="${version.minor}"/>
<replacefilter token="@@VERSION_MAINT@@" value="${version.maint}"/>
</replace>
</target> </target>
<target name="prepare-src" depends="sigar-version"> <target name="prepare-src" depends="sigar-version">