From b618da38690667d404bf7eb76316393bf39a8f25 Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Fri, 8 Jan 2016 10:02:51 +0100 Subject: [PATCH] Upate build instructions on the website Now that we release tarballs, this patch updates the website for instructions about how to compile them. * doc/website/mainpage.txt: Add instruction about how to build tarballs. Signed-off-by: Dodji Seketeli --- doc/website/mainpage.txt | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/doc/website/mainpage.txt b/doc/website/mainpage.txt index 85faf703..cf61b599 100644 --- a/doc/website/mainpage.txt +++ b/doc/website/mainpage.txt @@ -101,7 +101,38 @@ the moment the dependencies are the following Free Software packages: \li libxml2 \li elfutils -Then go to your local libabigail.git directory where the source code +\subsection compile-from-tarball Compiling the code from the tarball + +Once you've downloaded the tarball, please extract its content to a +directory of your choice. To xxtracting the tarball on GNU/Linux, please type: + +\code + tar -xvf libabigail-.tar.gz +\endcode + +This should create a directory libabigail-. + +Then go to that directory and run the commands: + +\code + mkdir build + cd build + ../configure --prefix=/where/you/want/to/install/libabigail + make all install +\endcode + +Make sure the directory /where/you/want/to/install/libabigail +exists and is writeable by you. + +The commands above should have built libabigail and its associated +tools, and installed them under +/where/you/want/to/install/libabigail. Note that built +objects are under the sub-directory of the source tree +of Libabigail which you extracted from the tarball. + +\subsection compile-from-git Compiling the code retrieved via the source code repository + +Go to your local libabigail.git directory where the source code you've checked out lies and create a 'build' directory that will receive the binaries resulting from the compilation: