include javadoc and C headers in the dist

This commit is contained in:
Doug MacEachern 2004-07-15 00:15:46 +00:00
parent b1db354fb8
commit b845c09f19
1 changed files with 9 additions and 1 deletions

View File

@ -183,7 +183,14 @@
<target name="test" depends="build,xtest"/> <target name="test" depends="build,xtest"/>
<target name="dist"> <target name="dist" depends="javadoc">
<mkdir dir="${dist}/docs"/>
<copy toDir="${dist}/docs" overwrite="true">
<fileset dir="${build}">
<include name="javadoc/**"/>
</fileset>
</copy>
<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}">
@ -192,6 +199,7 @@
<include name="lib/*.sl"/> <include name="lib/*.sl"/>
<include name="lib/*.so"/> <include name="lib/*.so"/>
<include name="lib/*.dylib"/> <include name="lib/*.dylib"/>
<include name="include/*.h"/>
</fileset> </fileset>
<fileset dir="."> <fileset dir=".">
<include name="lib/*.jar"/> <include name="lib/*.jar"/>