Updated Makefile to separate make from make install

This commit is contained in:
Sylvain Berfini 2012-12-19 12:17:33 +01:00
parent 641294975d
commit bcc8ea078f
2 changed files with 6 additions and 2 deletions

View file

@ -18,7 +18,9 @@ BUILD_WEBRTC_AECM=1
BUILD_FOR_X86=1 BUILD_FOR_X86=1
USE_JAVAH=1 USE_JAVAH=1
all: update-project prepare-sources install-apk run-linphone all: update-project prepare-sources generate-apk
install: install-apk run-linphone
prepare-ffmpeg: prepare-ffmpeg:
ifeq ($(PATCH_FFMPEG),) ifeq ($(PATCH_FFMPEG),)
@ -94,7 +96,7 @@ generate-apk:
ant partial-clean ant partial-clean
ant debug ant debug
install-apk: generate-apk install-apk:
ant installd ant installd
release: update-project release: update-project

2
README
View file

@ -8,6 +8,8 @@ To build liblinphone for Android, you must:
2bis) on some 64 bits systems you'll need the ia32-libs package 2bis) on some 64 bits systems you'll need the ia32-libs package
3) run the Makefile script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project. 3) run the Makefile script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
$ make $ make
4) To install the generated apk into a plugged device, run
$ make install
To create an apk with a different package name, you need to edit the custom_rules.xml file: To create an apk with a different package name, you need to edit the custom_rules.xml file:
1) look for the property named "linphone.package.name" and change it value accordingly 1) look for the property named "linphone.package.name" and change it value accordingly