From 56b843522b43dae056ffadbb3423d4091ca03e8c Mon Sep 17 00:00:00 2001 From: Jehan Date: Sat, 25 Mar 2017 00:08:16 +0100 Subject: [PATCH] INSTALL: update compilation instructions. --- INSTALL | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 8d0ab8f..60b8234 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,16 @@ -Execute release.sh or manually make a directory and check in, and execute - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && make -Then install - sudo make install +# INSTALL uchardet + +`uchardet` uses a typical cmake installation. + +* Configure with `cmake`. There are various options. For instance to configure + with a prefix as a release-ready build: + +> cmake -DCMAKE_INSTALL_PREFIX=/home/jehan/.local -DCMAKE_BUILD_TYPE=Release + +Alternatively, use `ccmake`, curses interface to `cmake`. + +* Build with `make`. + +* Install with `make install`. + +Read `README` for more details on uchardet.