Setting BUILD_OFFICIAL=1 in ~/.mozconfig doesn't change date

Discussion about official Mozilla Firefox builds
Post Reply
yusufg
Posts: 88
Joined: December 2nd, 2002, 11:13 pm
Location: Hong Kong

Setting BUILD_OFFICIAL=1 in ~/.mozconfig doesn't change date

Post by yusufg »

Hi, I am compiling Phoenix with XFT on my Redhat 8.0 box, I am using the following ~/.mozconfig

export MOZ_PHOENIX=1
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_PHOENIX=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
ac_add_options --enable-crypto
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
ac_add_options --disable-mailnews
ac_add_options --enable-extensions=default,-inspector,-irc,-venkman,-content-packs,-help
ac_add_options --enable-plaintext-editor-only
ac_add_options --enable-xft

However, after I finish compiling, when I click on Help->About Phoenix, the build date shown is the
date when I first checked the entire source out, does anybody know how I can change the build identifier to have the current date (I thought setting BUILD_OFFICIAL and MOZILLA_OFFICIAL) should do the trick
User avatar
Chris Cook
Posts: 898
Joined: December 14th, 2002, 9:57 am
Location: Québec, Canada
Contact:

Re: Setting BUILD_OFFICIAL=1 in ~/.mozconfig doesn't change

Post by Chris Cook »

yusufg wrote:However, after I finish compiling, when I click on Help->About Phoenix, the build date shown is the date when I first checked the entire source out, does anybody know how I can change the build identifier to have the current date (I thought setting BUILD_OFFICIAL and MOZILLA_OFFICIAL) should do the trick

Wouldn't that be misleading (from a code version perspective) and confusing though?
cdn
Posts: 999
Joined: November 4th, 2002, 5:47 pm
Location: UK
Contact:

Post by cdn »

echo '#define PRODUCT_VERSION "'`date +%Y%m%d`'"' > layout/build/gbdate.h

then run make -f client.mk

this will be a dep build, since you're only compiling the changes [ but that code is still YYYYmmdd ]
Post Reply