mirror of
https://github.com/davatorium/rofi.git
synced 2025-01-27 15:25:24 -05:00
Update install guide + print i3 status end of configure.
This commit is contained in:
parent
953fcf9ee8
commit
8e954466ed
2 changed files with 38 additions and 2 deletions
25
INSTALL.md
25
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
|
||||
```
|
||||
|
||||
|
|
15
configure.ac
15
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 ""
|
||||
|
|
Loading…
Add table
Reference in a new issue