summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2015-03-24 16:02:03 +0100
committerDave Davenport <qball@gmpclient.org>2015-03-24 16:02:03 +0100
commit8e954466ed33ff18737d312f512fc643eaaf8c3f (patch)
tree7c3a3d1eaeacc5cc2d8c600d5eacc52ebc4b9667
parent953fcf9ee804109fcec57e1af6a417500e5c2935 (diff)
Update install guide + print i3 status end of configure.
-rw-r--r--INSTALL.md25
-rw-r--r--configure.ac15
2 files changed, 38 insertions, 2 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 5cc34167..088a12d1 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -7,14 +7,15 @@
* C compiler that supports the c99 standard. (gcc or clang)
* make
* autoconf
-* automake (1.14.0 or up)
-* Dev packages of the external libraries
+* automake (1.11.3 or up)
+* Developer packages of the external libraries
### External libraries
* libxinerama
* libxft
* libpango
+* libpangoxft
* libx11
@@ -120,3 +121,23 @@ CFLAGS="-I/weird/i3/path/include/" ../configure
CFLAGS="-I/weird/i3/path/include/" make
```
+## Options for make
+
+When you run make you can tweak the build process a little.
+
+### Verbose output
+
+Show the commands called:
+
+```
+make V=1
+```
+
+### Debug build
+
+Compile with debug symbols and no optimization
+
+```
+make CFLAGS="-O0 -g3" clean rofi
+```
+
diff --git a/configure.ac b/configure.ac
index 040b278c..a2785604 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,3 +52,18 @@ AC_SUBST([EXTRA_CFLAGS], ["-Wall -Wextra -Wparentheses -Winline -pedantic"])
AC_CONFIG_FILES([Makefile ])
AC_OUTPUT
+
+dnl -----------------------------------------------
+dnl Some output to easily spot if I3 is enabled.
+dnl -----------------------------------------------
+
+echo ""
+echo "-------------------------------------"
+if test x$i3_header = xyes; then
+echo "I3 support: Enabled"
+else
+echo "I3 support: Disabled"
+fi
+echo "-------------------------------------"
+echo "Now type 'make' to build"
+echo ""