summaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-26 02:54:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-26 14:17:59 +0200
commit2d8f9f71ba8a1dc140d97b43c66f21a78794f53b (patch)
tree7a11330ba3f4a035bdd74c470d6d64de8130cbf8 /INSTALL
parentb691110dd3ef831b33485db214b584bdb70e649e (diff)
downloadtdesshaskpass-2d8f9f71ba8a1dc140d97b43c66f21a78794f53b.tar.gz
tdesshaskpass-2d8f9f71ba8a1dc140d97b43c66f21a78794f53b.zip
Remodel CMake rules according to TDE standards.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL38
1 files changed, 16 insertions, 22 deletions
diff --git a/INSTALL b/INSTALL
index 05cd882..5c61726 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,22 +1,16 @@
-Ksshaskpass's build system uses CMake.
-So to compile Ksshaskpass first create a build dir (cmake does not support
-building in the source dir):
-
- mkdir build
- cd build
-
-then run cmake:
-
- cmake ..
-
-(a typical cmake option that is often used is: -DCMAKE_INSTALL_PREFIX=<prefix>)
-
-Finally build Ksshaskpass:
-
- make
-
-And install it (in most cases root privileges are required):
-
- make install
-
-(Text more or less copied from the Soprano build instructions.)
+Basic Installation
+==================
+
+ksshaskpass relies on cmake to build.
+
+Here are suggested default options:
+
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"