add examples to dist
This commit is contained in:
parent
b845c09f19
commit
dab22628f8
|
@ -184,6 +184,7 @@
|
||||||
<target name="test" depends="build,xtest"/>
|
<target name="test" depends="build,xtest"/>
|
||||||
|
|
||||||
<target name="dist" depends="javadoc">
|
<target name="dist" depends="javadoc">
|
||||||
|
<!-- docs -->
|
||||||
<mkdir dir="${dist}/docs"/>
|
<mkdir dir="${dist}/docs"/>
|
||||||
<copy toDir="${dist}/docs" overwrite="true">
|
<copy toDir="${dist}/docs" overwrite="true">
|
||||||
<fileset dir="${build}">
|
<fileset dir="${build}">
|
||||||
|
@ -191,6 +192,30 @@
|
||||||
</fileset>
|
</fileset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
<!-- examples -->
|
||||||
|
<mkdir dir="${dist}/examples/java"/>
|
||||||
|
<mkdir dir="${dist}/examples/perl"/>
|
||||||
|
<mkdir dir="${dist}/examples/csharp"/>
|
||||||
|
|
||||||
|
<copy toDir="${dist}/examples/java" overwrite="true">
|
||||||
|
<fileset dir="src/net/hyperic/sigar/cmd">
|
||||||
|
<include name="*.java"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<copy toDir="${dist}/examples/perl" overwrite="true">
|
||||||
|
<fileset dir="../perl/examples">
|
||||||
|
<include name="*.pl"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<copy toDir="${dist}/examples/csharp" overwrite="true">
|
||||||
|
<fileset dir="../dotnet/examples">
|
||||||
|
<include name="*.cs"/>
|
||||||
|
</fileset>
|
||||||
|
</copy>
|
||||||
|
|
||||||
|
<!-- binaries and header files -->
|
||||||
<mkdir dir="${dist}/sigar-bin"/>
|
<mkdir dir="${dist}/sigar-bin"/>
|
||||||
<copy toDir="${dist}/sigar-bin" overwrite="true">
|
<copy toDir="${dist}/sigar-bin" overwrite="true">
|
||||||
<fileset dir="${sigar-bin}">
|
<fileset dir="${sigar-bin}">
|
||||||
|
|
Loading…
Reference in New Issue