16
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
18
MOZCLIENT_APPNAME = fennec
20
20
MOZCLIENT_FILE = mobile/confvars.sh
21
21
MOZCLIENT_GETVERSION = grep MOZ_APP_VERSION mobile/confvars.sh | tail -1 | cut -d= -f2 | sed -e 's/pre//; s/\([ab]\)\([0-9]*\)/~\1\2/'
24
24
MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 http://hg.mozilla.org/index.cgi/mobile-browser/log 2> /dev/null | grep cite | head -1 | sed -e 's,.*</cite>,,' | perl -e '$m = { "Jan" => 1, "Feb" => 2, "Mar" => 3, "Apr" => 4, "May" => 5, "Jun" => 6, "Jul" => 7, "Aug" => 8, "Sep" => 9, "Oct" => 10, "Nov" => 11, "Dec" => 12 } ; $a = <>; $a =~ m/^ - \S+,\s+(\d+) (\S+) (\d+) \S+ \S+ - rev (\d+)/ && do { printf "%04d%02d%02dr%d\n", $3, $$m{$2}, $1, $4 }; '
26
26
MOZCLIENT_SEPARATOR = + # upstream only bumps the version at the end of the dev cycle