Update install guide + print i3 status end of configure.

This commit is contained in:
Dave Davenport 2015-03-24 16:02:03 +01:00
parent 953fcf9ee8
commit 8e954466ed
2 changed files with 38 additions and 2 deletions

View File

@ -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
```

View File

@ -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 ""