comparison Makefile @ 455:3f24984b435f

use version as part of final filename
author Carl Byington <carl@five-ten-sg.com>
date Thu, 08 Nov 2018 11:06:22 -0800
parents 7492d2cb7b75
children 105815cce146
comparison
equal deleted inserted replaced
454:7492d2cb7b75 455:3f24984b435f
1 #mc40 is "On Device Storage" 1 #mc40 is "On Device Storage"
2 #tc55 is "Internal Storage" 2 #tc55 is "Internal Storage"
3 3
4 style:=release 4 style:=release
5 dest:=/run/user/1000/gvfs/mtp*/*torage/Download 5 dest:=/run/user/1000/gvfs/mtp*/*torage/Download
6 apk:='app/build/outputs/apk/510Connectbot-$(style).apk'
7 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) 6 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2)
7 apk:='app/build/outputs/apk/510Connectbot-$(ver).apk'
8 id:=$(shell hg id --id || echo 1) 8 id:=$(shell hg id --id || echo 1)
9 da:=$(shell date +%Y-%m-%d) 9 da:=$(shell date +%Y-%m-%d)
10 version:=\ 10 version:=\
11 <?xml version=\"1.0\" encoding=\"utf-8\"?>\n\ 11 <?xml version=\"1.0\" encoding=\"utf-8\"?>\n\
12 <resources>\n\ 12 <resources>\n\