https://developer.mozilla.org/en/Simple_Thunderbird_build
http://code.google.com/p/tenfourfox/wiki/HowToBuildNow
Same as TenFourFox build requirement
hg clone http://hg.mozilla.org/releases/comm-esr10/
or
hg clone http://hg.mozilla.org/releases/comm-release/
python client.py --skip-inspector --skip-chatzilla --skip-venkman checkout
cd mozilla hg import TENFOURFOX_CHANGEST_SERIALY cd ..
hg import TENFOURBIRD_CHANGESET_SERIALY
Copy proper *.mozcfg to .mozconfig. (ex:
cp G5.mozcfg .mozconfig
Now start build.
make -f client.mk
Tenfourbird binary may find in "obj*/mozilla/dist/" directory.
Lightning xpi will created in "obj*/mozilla/dist/xpi-stage" directory.