diff options
| author | Jules Aguillon | 2022-03-14 18:37:37 +0100 |
|---|---|---|
| committer | Jules Aguillon | 2022-03-14 18:37:37 +0100 |
| commit | 9bb7c7e66f6c22bbe341ae88b853ffad40fcbe31 (patch) | |
| tree | 3cda2bbff093da0cb42c0f59c11018e8469c2648 /Makefile | |
| parent | f4978f5266abb01aaa78691d76209c4617f0f3c2 (diff) | |
| download | unexpected-keyboard-9bb7c7e66f6c22bbe341ae88b853ffad40fcbe31.tar.gz unexpected-keyboard-9bb7c7e66f6c22bbe341ae88b853ffad40fcbe31.zip | |
Identify debug version in app name
Using the --product option of aapt.
Remove the app name from translations because it is never translated. It
is still possible to translate it by specifying 'product="default"'.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -19,7 +19,11 @@ release: _build/$(PACKAGE_NAME).apk installd: _build/$(PACKAGE_NAME).debug.apk adb install "$<" -.PHONY: release debug installd +clean: + rm -rf _build/*.dex _build/class _build/gen _build/*.apk _build/*.unsigned-apk \ + _build/*.idsig + +.PHONY: release debug installd clean $(shell mkdir -p _build) @@ -60,7 +64,7 @@ _build/%.debug.apk: _build/%.debug.unsigned-apk $(DEBUG_KEYSTORE) # Debug apk -_build/$(PACKAGE_NAME).debug.unsigned-apk: AAPT_PACKAGE_FLAGS+=--rename-manifest-package $(PACKAGE_NAME).debug +_build/$(PACKAGE_NAME).debug.unsigned-apk: AAPT_PACKAGE_FLAGS+=--rename-manifest-package $(PACKAGE_NAME).debug --product debug # Release signing |
