summaryrefslogtreecommitdiff
path: root/src/nss.mk.in
diff options
context:
space:
mode:
authorFabien Tassin <fta@sofaraway.org>2008-05-19 18:28:22 +0200
committerFabien Tassin <fta@sofaraway.org>2008-05-19 18:28:22 +0200
commit8d94253e2cccbcb4f5217e3a4f82fd691f4c824d (patch)
tree6a563c9b61bdbbdfb6d69763886187558a8c97f9 /src/nss.mk.in
parentc0889d092e2257fab5a6f7dd8f26d7bd57ddfc44 (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/nss.mk.in')
-rw-r--r--src/nss.mk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nss.mk.in b/src/nss.mk.in
index 2436a0e..7a33ad9 100644
--- a/src/nss.mk.in
+++ b/src/nss.mk.in
@@ -21,8 +21,8 @@ MOZCLIENT_TARGET := nss-orig
MOZCLIENT_APPNAME := nss
MOZCLIENT_PROJECT := $(NULL)
MOZCLIENT_MODULES := mozilla/dbm mozilla/security/coreconf mozilla/security/dbm mozilla/security/nss
-MOZCLIENT_FILE := mozilla/security/nss/lib/nss/nss.h
-MOZCLIENT_GETVERSION := grep -E '^\#define NSS_V(MAJOR|MINOR|PATCH)' $(MOZCLIENT_FILE) | awk '{print $$3}' | tr '\n' '.' | sed -e 's,\.$$,,'
+MOZCLIENT_FILE := mozilla/security/nss/lib/nss/nss.h mozilla/config/milestone.txt
+MOZCLIENT_GETVERSION := ( grep -E '^\#define NSS_V(MAJOR|MINOR|PATCH)' $(MOZCLIENT_FILE) | awk '{print $$3}' | tr '\n' '.' | sed -e 's,\.$$,+,' ; tail -1 mozilla/config/milestone.txt | sed -e 's/pre//') | tr -d '\n'
MOZCLIENT_URL := 'http://bonsai.mozilla.org/cvsquery.cgi?treeid=NSS&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fdbm+mozilla%2Fsecurity%2Fnss+mozilla%2Fsecurity%2Fcoreconf+mozilla%2Fsecurity%2Fdbm&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=month&mindate=&maxdate=&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/&nbsp;/t/'
MOZCLIENT_WANTMOZDIR := 1