summaryrefslogtreecommitdiffstats
path: root/INSTALL.md
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2014-07-27 09:54:10 +0200
committerQC <qball@gmpclient.org>2014-07-27 09:54:10 +0200
commite52f8460898ff579d1a010754d2fe352fbae63f5 (patch)
treebbbfef4b88e66719d2e01a3fc43f14f1c62dc082 /INSTALL.md
parentc11fe3d05657a197a3b42b1d54029745834459f3 (diff)
Update dependency list in INSTALL.md
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md72
1 files 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=<installation path>
+```
+./configure --prefix=<installation path>
+```
f.e.
- ./configure --prefix=/usr/
+```
+./configure --prefix=/usr/
+```
or to install locally:
- ./configure --prefix=${HOME}/.local/
-
+```
+./configure --prefix=${HOME}/.local/
+```