Updating a code archive w/ CVS
This article describes the fastest way to get a buildable tree.
Contributors should always download an archived source tree and update with CVS. Contributors should never checkout the entire tree via CVS.
Audience:
Contributors who want to access all code and/or build. (If you want to view individual files or search the tree, use LXR.)
Prerequisites:
Assumes you have a working knowledge of CVS and have installed a CVS client for your system.
Assumes you have downloaded source code archive from FTP (or one of its many mirror sites).
Assumes you have installed GNU Make. Other versions of make will not work.
Discussion:
The current source tarballs contain CVS info for the public server, cvs-mirror.mozilla.org.
The compressed size of a code archive is roughly 25-40 MB, when uncompressed, the size is several hundred (250-350 MB).
Steps:
- Decompress tar file.
- Update the client.mk file:
cvs -z3 update -PA mozilla/client.mk
- Update your tree w/ the make file:
make -f mozilla/client.mk checkout MOZ_CO_FLAGS=-PA