diff options
author | Fabien Tassin <fta@sofaraway.org> | 2008-06-02 14:02:07 +0200 |
---|---|---|
committer | Fabien Tassin <fta@sofaraway.org> | 2008-06-02 14:02:07 +0200 |
commit | 68c81fa9645d3cde57e775dae4ee28c99476ea1f (patch) | |
tree | 3d5a72c74271439f5c5a2097910cacb8c2585b2a /src/nspr.mk.in | |
parent | 3df66ad3d14674a57c881e1c7b696388276676e8 (diff) |
* [mozclient] Full refactoring of mozclient. It is now written in object-oriented Perl.
The makefile version was getting difficult to extend and to maintain.
We now have a base class and a set of VCS classes inheriting for it.
- add src/mozclient.pl.in
- add src/mozclient/${projects}.conf
- move src/patches to src/mozclient/patches
- update src/${projects}.mk.in
- update src/Makefile
- update README
* [mozclient] nspr and nss are now using a dynamic tag. They used to fetch HEAD
which made them tricky to distribute. Now, we take NSPR_CO_TAG and
NSS_CO_TAG from mozilla/client.mk (from HEAD or from a tag)
and we assign a version like nss-3.12.0.3+1.9~cvs without trailling
cvs date (as it's a taggued nss), or nss-3.12.0.3+1.9 when using a
taggued mozilla/client.mk
- update src/mozclient.pl.in
- update src/mozclient/{nspr,nss}.conf
Diffstat (limited to 'src/nspr.mk.in')
-rw-r--r-- | src/nspr.mk.in | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/nspr.mk.in b/src/nspr.mk.in index 4c7c5d8..1653856 100644 --- a/src/nspr.mk.in +++ b/src/nspr.mk.in @@ -17,14 +17,6 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -MOZCLIENT_TARGET := nspr-orig -MOZCLIENT_APPNAME := nspr -MOZCLIENT_PROJECT := $(NULL) -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/' -MOZCLIENT_WANTMOZDIR := 1 +MOZCLIENT_PROJECTNAME := nspr include mozclient.mk.in |