Building_mcabber_from_Mercurial.mdwn
changeset 1 1e57279b82b1
equal deleted inserted replaced
0:eff7327bcabe 1:1e57279b82b1
       
     1 [[!meta title="Bulding MCabber from Sources"]]
       
     2 
       
     3 A short explanation on how to use Mercurial to keep up-to-date with the latest
       
     4 development version of mcabber. More info on Mercurial can be found on
       
     5 <http://www.selenic.com/mercurial/wiki/>.
       
     6 
       
     7 [[!toc]]
       
     8 
       
     9 # Download
       
    10 
       
    11 First, clone the Mercurial reporitory:
       
    12 
       
    13     % hg clone http://mcabber.com/hg/ mcabber-hg
       
    14 
       
    15 # Prepare
       
    16 
       
    17 Go into the `mcabber` directory, and build the `configure` script (you will need
       
    18 the _autotools_ software installed):
       
    19 
       
    20     % cd mcabber-hg/mcabber
       
    21     % ./autogen.sh
       
    22 
       
    23 Now you can use the configure script, as usual. You can use `--enable-hgcset` to
       
    24 add the Mercurial changeset to mcabber's version string.
       
    25 
       
    26     % ./configure --enable-hgcset
       
    27 
       
    28 If you want to install in your own home-directory instead of system-wide, append
       
    29 `--prefix=$HOME`:
       
    30 
       
    31     % ./configure --enable-hgcset --prefix=$HOME
       
    32 
       
    33 # Compile
       
    34 
       
    35 To compile the source code, run:
       
    36 
       
    37     % make
       
    38 
       
    39 And to install it (you will probably need to be root to do this if you are doing
       
    40 a system-wide installation):
       
    41 
       
    42     % make install
       
    43 
       
    44 # Update
       
    45 
       
    46 If you want to update mcabber source code later, just pull from the repository,
       
    47 update and compile again:
       
    48 
       
    49     % hg pull -u
       
    50     % make
       
    51     % make install
       
    52