Install desktop file and icons to DATADIR instead of the hardcoded share/.
[keepassx:keepassx.git] / INSTALL
1 Building:
2 =========
3 mkdir build
4 cd build
5 cmake [CMAKE PARAMETERS] ..
6 make [-jX]
7
8 Common cmake parameters:
9 ========================
10 -DCMAKE_INSTALL_PREFIX=/usr/local
11 -DCMAKE_VERBOSE_MAKEFILE=ON
12 -DCMAKE_BUILD_TYPE=<RelWithDebInfo/Debug/Release>
13 -DWITH_GUI_TESTS=ON
14
15 Installing:
16 ===========
17 make install [DESTDIR=X]
18
19 Create a bundle on Mac:
20 make package
21
22 Run tests:
23 ==========
24 make test [CTEST_OUTPUT_ON_FAILURE=1] [ARGS+=-jX] [ARGS+="-E testgui"]
25
26 OS specific instructions:
27 =========================
28 https://www.keepassx.org/dev/projects/keepassx/wiki/Install_instructions