core: update build instructions in README (closes #1024)
This commit is contained in:
parent
2a94dc1359
commit
c03ac468ca
14
README.adoc
14
README.adoc
@ -67,12 +67,24 @@ Only CMake is officially supported to build WeeChat. You should only use
|
||||
autotools if you are not able to use CMake. +
|
||||
Building with autotools requires more dependencies and is slower than with CMake.
|
||||
|
||||
To build and install in system directories:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
# make install
|
||||
----
|
||||
|
||||
To build and install in a custom directory, for example your home:
|
||||
|
||||
----
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/directory
|
||||
$ make
|
||||
$ make install (as root for installation in system directories)
|
||||
$ make install
|
||||
----
|
||||
|
||||
For more information or installation with autotools, please look at
|
||||
|
Loading…
x
Reference in New Issue
Block a user