~mozillateam/mozilla-devscripts/mozilla-devscripts

142 by Fabien Tassin
* [mozclient] add project for Fennec using hg
1
# Copyright (c) 2008 Fabien Tassin <fta@sofaraway.org>
2
# Description: Project Fennec
3
#
4
# This program is free software; you can redistribute it and/or
5
# modify it under the terms of the GNU General Public License as
6
# published by the Free Software Foundation; either version 2, or (at
7
# your option) any later version.
8
#
9
# This program is distributed in the hope that it will be useful, but
10
# WITHOUT ANY WARRANTY; without even the implied warranty of
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
# General Public License for more details.
13
#
14
# You should have received a copy of the GNU General Public License along
15
# with this program; if not, write to the Free Software Foundation, Inc.,
16
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
18
MOZCLIENT_APPNAME    = fennec
19
MOZCLIENT_PROJECT    = mobile-browser
144 by Fabien Tassin
* [mozclient] update fennec project
20
MOZCLIENT_FILE       = mobile/confvars.sh
21
MOZCLIENT_GETVERSION = grep ^MOZ_APP_VERSION mobile/confvars.sh | cut -d= -f2 | sed -e 's/pre//; s/\([ab]\)\([0-9]*\)/~\1\2/'
142 by Fabien Tassin
* [mozclient] add project for Fennec using hg
22
MOZCLIENT_VCS        = hg
23
MOZCLIENT_VCS_LOC    = http://hg.mozilla.org/
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 }; '
25
MOZCLIENT_EMBEDDED  = 0
144 by Fabien Tassin
* [mozclient] update fennec project
26
MOZCLIENT_WANTMOZDIR = 1
27
MOZCLIENT_MOZDIRNAME = mobile
28
MOZCLIENT_TAREXCLUDE = CVS .cvsignore