BZFlag - Building from CVS
Table of Contents
Overview
- Check out the source tree from sourceforge via CVS
- Update the source to get the latest stuff
- Build the source
- Install your new version
Short Version for the Impatient
Do this once:
$ touch ~/.cvspass $ cvs -d :pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag login $ cvs -z3 -d :pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag co -P -rv2_0branch bzflag
Repeat this for every new build with new source
$ cd bzflag $ cvs up -C -d $ ./autogen.sh $ ./configure $ make $ su root -c make install
Use ./configure --enable-shared if you want plugin support.
That's it.
Details
Check out the source from sourceforge via CVS
You normally only do these steps once.
$ touch ~/.cvspass $ cvs -d :pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag login
The password is blank - just hit return
Now get the source
$ cvs -z3 -d :pserver:anonymous@bzflag.cvs.sourceforge.net:/cvsroot/bzflag co -P -rv2_0branch bzflag
This will get the source compatible with 2.0.4 servers
Update the source to get the latest stuff
You normally do this before each build.
$ cd bzflag $ cvs up -C -d
Now you have up to date sources
Build the application
In the top of the bzflag project directory
$ ./autogen.sh $ ./configure $ make
or
$ ./autogen.sh $ ./configure --enable-plugins $ make
if you want plugin support.
Install
This step is optional. It is possible to run the code right out of the project directory. If you want it installed then do the following:
$ su root -c make install
That's it!
Date: 2010-05-25 08:19:44 EDT