From e52f8460898ff579d1a010754d2fe352fbae63f5 Mon Sep 17 00:00:00 2001 From: QC Date: Sun, 27 Jul 2014 09:54:10 +0200 Subject: [PATCH] Update dependency list in INSTALL.md --- INSTALL.md | 72 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 54 insertions(+), 18 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index faf68776..822f5120 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,26 +1,47 @@ -Installation guide: -=================== +# Installation guide: + +## DEPENDENCY + +### For building: + +* C compiler (gcc or clang) +* make +* autoconf +* automake + +### External libraries + +* libxinerama +* libxft +* libx11 +* libxdg-basedir + +### Optional: + +* For i3 support, you need at least i3 version 4.5 or up. -DEPENDENCY ----------- -For i3 support, you need at least i3 version 4.5 or up. Install from a release ---------------------- Check dependencies and configure build system: - ./configure +``` +./configure +``` Build Rofi: - make +``` +make +``` The actual install, execute as root (if needed): - make install - +``` +make install +``` Install a checkout from git @@ -28,23 +49,33 @@ Install a checkout from git Generate build system: - autoreconf -i +``` +autoreconf -i +``` Create a build directory: - mkdir build +``` +mkdir build +``` Check dependencies and configure build system: - ../configure +``` +../configure +``` Build rofi: - make +``` +make +``` The actual install, execute as root (if needed): - make install +``` +make install +``` Options for configure @@ -55,14 +86,19 @@ When you run the configure step there are several you can configure. (To see the The most useful one to set the installation prefix: - ./configure --prefix= +``` +./configure --prefix= +``` f.e. - ./configure --prefix=/usr/ +``` +./configure --prefix=/usr/ +``` or to install locally: - ./configure --prefix=${HOME}/.local/ - +``` +./configure --prefix=${HOME}/.local/ +```