diff options
author | Fabien Tassin <fta@sofaraway.org> | 2008-05-19 18:28:22 +0200 |
---|---|---|
committer | Fabien Tassin <fta@sofaraway.org> | 2008-05-19 18:28:22 +0200 |
commit | 8d94253e2cccbcb4f5217e3a4f82fd691f4c824d (patch) | |
tree | 6a563c9b61bdbbdfb6d69763886187558a8c97f9 /src/nspr.mk.in | |
parent | c0889d092e2257fab5a6f7dd8f26d7bd57ddfc44 (diff) |
* Add a mozclient-version target producing a VERSION=foo string on stdout
- update src/mozclient.mk.in
* Fix nspr and nss conf files to fetch xulrunner versdion file using
MOZCLIENT_FILE instead of MOZCLIENT_MODULES
- update src/nspr.mk.in
- update src/nss.mk.in
Diffstat (limited to 'src/nspr.mk.in')
-rw-r--r-- | src/nspr.mk.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nspr.mk.in b/src/nspr.mk.in index 438b64a..4c7c5d8 100644 --- a/src/nspr.mk.in +++ b/src/nspr.mk.in @@ -20,8 +20,8 @@ MOZCLIENT_TARGET := nspr-orig MOZCLIENT_APPNAME := nspr MOZCLIENT_PROJECT := $(NULL) -MOZCLIENT_MODULES := mozilla/nsprpub mozilla/config/milestone.txt -MOZCLIENT_FILE := mozilla/nsprpub/pr/include/prinit.h +MOZCLIENT_MODULES := mozilla/nsprpub +MOZCLIENT_FILE := mozilla/nsprpub/pr/include/prinit.h mozilla/config/milestone.txt MOZCLIENT_GETVERSION := ( grep -E '^\#define PR_VERSION' mozilla/nsprpub/pr/include/prinit.h | cut -d\" -f2 | tr 'A-Z' 'a-z' | sed -e 's/beta /beta/' -e 's/ */~/g' -e 's/$$/+/' ; tail -1 mozilla/config/milestone.txt | sed -e 's/pre//') | tr -d '\n' MOZCLIENT_URL := 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fnsprpub&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=1177522884&maxdate=1588258884&cvsroot=%2Fcvsroot' MOZCLIENT_GETDATE = wget -O - -q --read-timeout=10 --user-agent='' --tries=3 $(MOZCLIENT_URL) 2> /dev/null | grep "href='http://webtools" | head -1 | tr '<>' '@' | cut -d@ -f5 | tr -d ':-' | sed -e 's/ /t/' |