make it possible to override the package date, and therefore version,

without having to hack the Makefile(s).

makes it easier to downgrade to a previous nightly build (provided you
already have the distfile) by simply setting eg. MOZ_VER=20040525, as
I just had to do :)
This commit is contained in:
grant 2004-05-30 03:22:05 +00:00
parent dfd23df133
commit 6ac95f685f

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.common,v 1.2 2004/02/25 23:19:56 grant Exp $
# $NetBSD: Makefile.common,v 1.3 2004/05/30 03:22:05 grant Exp $
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_SHORT}/nightly/${MOZ_CONTRIB}latest-trunk/ \
ftp://ftp.mozilla.org/pub/mozilla.org/${MOZILLA_SHORT}/nightly/${MOZ_CONTRIB}latest-trunk/
@ -9,6 +9,8 @@ NO_SRC_ON_FTP= # defined
.include "../../mk/bsd.prefs.mk"
.if !defined(MOZ_VER) || ${MOZ_VER} == ""
MOZ_VER!= ${DATE} +%Y%m%d
.endif
.include "../../www/mozilla-bin/Makefile.common"