Use custom rule partial-clean to remove right file named after ant project
This commit is contained in:
parent
16003a7ddc
commit
fda1dc26c2
2 changed files with 5 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue