Use custom rule partial-clean to remove right file named after ant project

This commit is contained in:
Sylvain Berfini 2012-11-27 12:44:42 +01:00
parent 16003a7ddc
commit fda1dc26c2
2 changed files with 5 additions and 1 deletions

View file

@ -89,7 +89,7 @@ update-project:
touch default.properties
generate-apk:
rm -f bin/Linphone.ap_ #work around to avoid aptbuilder failure
ant partial-clean
ant debug
install-apk: generate-apk

View file

@ -35,6 +35,10 @@
<class name="org.linphone.core.PayloadTypeImpl" />
</javah>
</target>
<target name="partial-clean">
<delete file="bin/${ant.project.name}.ap_" />
</target>
<target name="build-libs">
<exec executable="make" failonerror="true">