diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/debian/rules b/debian/rules index f6a14d7..a6797f1 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,17 @@ #!/usr/bin/make -f -# -# Uhm, too much complicated eh? -# + include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/kde.mk -#DEB_OPT_FLAG=-O3 -march=i686 -mcpu=i686 +include /usr/share/cdbs/1/class/cmake.mk +include debian/cdbs/debian-tde.mk + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -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" |