Add uninstall target in makefile, to uninstall from device
This commit is contained in:
parent
59b52f52ce
commit
6360526c8d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -29,7 +29,7 @@ SQLITE_BASENAME=sqlite-amalgamation-$(SQLITE_VERSION)
|
|||
SQLITE_URL=http://www.sqlite.org/2013/$(SQLITE_BASENAME).zip
|
||||
ENABLE_GPL_THIRD_PARTIES=1
|
||||
CC=
|
||||
|
||||
PACKAGE_NAME=$(shell sed -nE 's|<property name="linphone.package.name" value="(.*)" />|\1|p' custom_rules.xml)
|
||||
#default options, can be overidden using make OPTION=value .
|
||||
|
||||
ifeq ($(ENABLE_GPL_THIRD_PARTIES),1)
|
||||
|
@ -466,6 +466,9 @@ generate-mediastreamer2-apk: clean generate-mediastreamer2-libs
|
|||
echo "version.name=$(LINPHONE_ANDROID_DEBUG_VERSION)" > default.properties && \
|
||||
ant debug
|
||||
|
||||
uninstall:
|
||||
adb uninstall $(PACKAGE_NAME)
|
||||
|
||||
install-apk:
|
||||
ant installd
|
||||
|
||||
|
|
Loading…
Reference in a new issue