/shell__0ad_build_from_anywhere_with_a_oneliner

Build (and update repository) without having to care for current working directory. Initiate using /path/to/buildengine_on_linux.sh (not forget: chmod +x ...). Default source location is --prefix=$HOME/0ad/ (change to your liking as command line parameter).

Creative Commons Zero v1.0 UniversalCC0-1.0

Update and build convenience script.

Compatibility:

  • 0AD Empires Ascendant | Empires Besieged,
  • 0BC Time Machine (old build system).

Usage:

Before first run set executable flag:

chmod +x /path/to/buildengine_on_linux.txt

Minimal (assumes location is $HOME/0ad/, with or without repository update):

~/CoM/buildengine_on_linux.txt

~/CoM/buildengine_on_linux.txt --update

Specific:

~/CoM/buildengine_on_linux.txt --prefix=$HOME/0ad/ --update_repo --update_params='0ad master'

Complete:

/path/to/buildengine_on_linux.txt --prefix='$HOME/0ad' --debug -j2 --clean --update_repo --update_params='0ad master'

For SVN append parameter:

--svn