From f1f4e55d43aee83c6bb3d96290b0f02520bffe7f Mon Sep 17 00:00:00 2001 From: QC Date: Sun, 27 Jul 2014 12:46:00 +0200 Subject: [PATCH] Update installation page. --- INSTALL.md | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 822f5120..8bfb1cd7 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 +``` +