Update installation page.

This commit is contained in:
QC 2014-07-27 12:46:00 +02:00
parent e52f846089
commit f1f4e55d43

View file

@ -1,10 +1,10 @@
# Installation guide:
# Installation guide
## DEPENDENCY
### For building:
* C compiler (gcc or clang)
* C compiler that supports the c99 standard. (gcc or clang)
* make
* autoconf
* automake
@ -22,8 +22,7 @@
Install from a release
----------------------
## Install from a release
Check dependencies and configure build system:
@ -44,8 +43,7 @@ make install
```
Install a checkout from git
---------------------------
## Install a checkout from git
Generate build system:
@ -78,8 +76,7 @@ make install
```
Options for configure
---------------------
## Options for configure
When you run the configure step there are several you can configure. (To see the full list type
`./configure --help` ).
@ -96,9 +93,20 @@ f.e.
./configure --prefix=/usr/
```
### Install locally
or to install locally:
```
./configure --prefix=${HOME}/.local/
```
### I3 workaround
If i3 is installed in a non-standard prefix, point it to the right location using:
```
CFLAGS="-I/weird/i3/path/include/" ../configure
CFLAGS="-I/weird/i3/path/include/" make
```