From 90820c2582b6dca3a0358ab20bf8d8ace7e7a1b9 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Sun, 6 Nov 2016 17:44:10 +0100 Subject: Update documentation concerning install dirs --- docs/manual/install/linux.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/manual/install/linux.rst b/docs/manual/install/linux.rst index 1508711..33eb4c3 100644 --- a/docs/manual/install/linux.rst +++ b/docs/manual/install/linux.rst @@ -105,13 +105,13 @@ CMake will notify you, if some of the dependencies are not met. In case you want to install the library system-wide on a 64-bit machine you should generate the Makefiles with :: - $ cmake -DLIBDIR=/usr/lib64 + $ cmake -DCMAKE_INSTALL_LIBDIR=/usr/lib64 For earlier versions of PyGObject, it is necessary that the introspection files are located under ``/usr`` not ``/usr/local``. You can force the prefix by calling :: - $ cmake -DPREFIX=/usr + $ cmake -DCMAKE_INSTALL_PREFIX=/usr Last but not least build the framework, introspection files, API reference and the documentation using :: @@ -180,7 +180,7 @@ have to configure ufo-core like this :: $ mkdir -p build/ufo-core $ cd build/ufo-core - $ cmake -DPREFIX=/home/user/tmp/usr + $ cmake -DCMAKE_INSTALL_PREFIX=/home/user/tmp/usr $ make && make install Now, we have to adjust the ``pkg-config`` path, so that the library can be @@ -189,7 +189,7 @@ found when configuring the filters :: $ export PKG_CONFIG_PATH=/home/user/tmp/usr/lib/pkgconfig $ mkdir -p build/ufo-filters $ cd build/ufo-filters - $ cmake -DPREFIX=/home/user/tmp/usr + $ cmake -DCMAKE_INSTALL_PREFIX=/home/user/tmp/usr $ make && make install After installation you have to set the typelib and linker path so that -- cgit v1.2.3