Added text files from root in packaging

git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@119 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
mat007 2010-02-09 21:40:51 +00:00
parent 0e5deb6115
commit facdfbb6f9

View file

@ -17,13 +17,13 @@
</build-test>
</target>
<target name="bench" description="run benchmark">
<target name="bench" description="build compilation benchmark">
<build-app name="turtle_bench" mode="all">
<includepath path="${applications.dir}/turtle_bench"/>
</build-app>
</target>
<target name="export" description="export the distribution">
<target name="export" description="export distribution">
<deploy>
<module name="turtle">
<include name="**/*.hpp"/>
@ -31,12 +31,18 @@
</deploy>
</target>
<target name="package" depends="export" description="package the distribution">
<target name="package" depends="export" description="package distribution">
<mkdir dir="${dist.dir}"/>
<zip destfile="${dist.dir}/${ant.project.name}.zip" basedir="${dist.dir}" includes="include/**"/>
<tar destfile="${dist.dir}/${ant.project.name}.tar.bz2" basedir="${dist.dir}" includes="include/**" compression="bzip2"/>
<zip destfile="${dist.dir}/${ant.project.name}.zip">
<fileset dir="${dist.dir}" includes="include/**"/>
<fileset dir="${root.dir}" includes="*.txt"/>
</zip>
<tar destfile="${dist.dir}/${ant.project.name}.tar.bz2" compression="bzip2">
<fileset dir="${dist.dir}" includes="include/**"/>
<fileset dir="${root.dir}" includes="*.txt"/>
</tar>
</target>
<target name="all" depends="configure,test,export,package" description="build, run tests and package application"/>
<target name="all" depends="configure,test,export,package" description="configure, build and run tests, export and package distribution"/>
</project>