more unwinding of diffs
[debian/freetts] / build.xml
index 5a899f3f3abb8248c203637841bc688d80800688..843332f4ad141a7a3c090bebaae6b1f59a13ac3d 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1051,10 +1051,17 @@ jsapi.exe from the lib directory.
              excludes="**/*.jar,**/tests/**" />
     </target>
 
+    <!-- debian .. builds only what's needed for Debian packaging -->
+    <target name="debian" depends="all,javadoc">
+        <mkdir dir="${deploy_dir}/freetts-${version}" />
+        <copy todir="${deploy_dir}/freetts-${version}" includeEmptyDirs="false">
+            <fileset refid="binaries" />
+       </copy>
+    </target>
 
     <!-- freetts-bin -->
     <target name="deploy_bin" depends="deploy_init">
-        <jar destfile="${deploy_dir}/freetts-${version}.jar"
+        <jar destfile="${deploy_dir}/freetts-${version}-bin.zip"
              basedir="${deploy_dir}"
              filesonly="true"
              compress="true"