From e4b4aadad4d2a0613eea87b8ad1bf5ba47709b70 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Mon, 21 Jul 2014 16:41:31 +0200 Subject: [PATCH] Fix #62 Add install file. --- INSTALL.md | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 3 ++- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 INSTALL.md diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 00000000..f103f9e8 --- /dev/null +++ b/INSTALL.md @@ -0,0 +1,63 @@ +Installation guide: +=================== + +Install from a release +---------------------- + +Check dependencies and configure build system: + + ./configure + +Build Rofi: + + make + +The actual install, execute as root (if needed): + + make install + + + +Install a checkout from git +--------------------------- + +Generate build system: + + autoreconf -i + +Create a build directory: + + mkdir build + +Check dependencies and configure build system: + + ../configure + +Build rofi: + + make + +The actual install, execute as root (if needed): + + make install + + +Options for configure +--------------------- + +When you run the configure step there are several you can configure. (To see the full list type +`./configure --help` ). + +The most useful one to set the installation prefix: + + ./configure --prefix= + +f.e. + + ./configure --prefix=/usr/ + +or to install locally: + + ./configure --prefix=${HOME}/.local/ + + diff --git a/Makefile.am b/Makefile.am index 0e8c89f5..9d416647 100644 --- a/Makefile.am +++ b/Makefile.am @@ -65,7 +65,8 @@ README.html: README.md EXTRA_DIST=\ $(man1_MANS)\ $(markdown_FILES)\ - $(markdown_SC_FILES) + $(markdown_SC_FILES)\ + INSTALL.md ## # Indent