HACKING: update build instructions

This commit is contained in:
djcb 2016-12-15 08:18:00 +02:00
parent fc70fc6c3b
commit fb8e148878
1 changed files with 20 additions and 5 deletions

25
HACKING
View File

@ -111,17 +111,32 @@
For hacking, you're strongly advised to use the latest git For hacking, you're strongly advised to use the latest git
version. Compilation from git should be straightforward, if you version. Compilation from git should be straightforward, if you
have the right tools (automake, autoconf and friends) installed -- have the right tools installed.
but if you do development, you'd probably have those.
Anyhow, to compile straight from git: *** dependencies
You need to install a few dependencies; e.g. on Debian/Ubuntu:
sudo apt-get install \
automake \
autoconf-archive \
autotools-dev \
libglib2.0-dev \
libxapian-dev \
libgmime-2.6-dev \
m4 \
make \
pkg-config
Then, to compile straight from git:
$ git clone https://github.com/djcb/mu $ git clone https://github.com/djcb/mu
$ cd mu $ cd mu
$ autoreconf -i $ ./autogen.sh
$ ./configure
$ make $ make
You only need to run ./autogen.sh the first time and after changes
in the build system; otherwise you can use ./configure.
# Local Variables: # Local Variables:
# mode: org; org-startup-folded: nofold # mode: org; org-startup-folded: nofold