summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-11-14 11:45:52 +0800
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-11-14 11:45:52 +0800
commiteb16e7c7281e182297581fa8d565561869c81bca (patch)
tree4edf3c2dcd2a70e76c9581f04fbeb7d2a729f8b6
parent2064c92d78e53c5753ccc22a2b83abfe120fa8cb (diff)
downloadtde-packaging-eb16e7c7281e182297581fa8d565561869c81bca.tar.gz
tde-packaging-eb16e7c7281e182297581fa8d565561869c81bca.zip
DEB: added cmake directive to create compilation database 'compile_commands.json' at build time.
This can be used to provide linting, autocompletion, hovering info, go-to-definition and in general other LSP functionality in development environments. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rwxr-xr-xdebian/_base/applications/abakus/debian/rules16
-rwxr-xr-xdebian/_base/applications/amarok/debian/rules1
-rwxr-xr-xdebian/_base/applications/basket/debian/rules1
-rwxr-xr-xdebian/_base/applications/codeine/debian/rules1
-rwxr-xr-xdebian/_base/applications/compizconfig-backend-tdeconfig/debian/rules1
-rwxr-xr-xdebian/_base/applications/dolphin/debian/rules1
-rwxr-xr-xdebian/_base/applications/filelight/debian/rules1
-rwxr-xr-xdebian/_base/applications/gtk-qt-engine/debian/rules15
-rwxr-xr-xdebian/_base/applications/gwenview-i18n/debian/rules1
-rwxr-xr-xdebian/_base/applications/k3b-i18n/debian/rules1
-rwxr-xr-xdebian/_base/applications/k3b/debian/rules1
-rwxr-xr-xdebian/_base/applications/kaffeine-mozilla/debian/rules1
-rwxr-xr-xdebian/_base/applications/kaffeine/debian/rules1
-rwxr-xr-xdebian/_base/applications/kasablanca/debian/rules1
-rwxr-xr-xdebian/_base/applications/katapult/debian/rules1
-rwxr-xr-xdebian/_base/applications/kbarcode/debian/rules1
-rwxr-xr-xdebian/_base/applications/kbfx/debian/rules1
-rwxr-xr-xdebian/_base/applications/kbibtex/debian/rules1
-rwxr-xr-xdebian/_base/applications/kbiff/debian/rules1
-rwxr-xr-xdebian/_base/applications/kbookreader/debian/rules1
-rwxr-xr-xdebian/_base/applications/kchmviewer/debian/rules1
-rwxr-xr-xdebian/_base/applications/kcmautostart/debian/rules1
-rwxr-xr-xdebian/_base/applications/kcmldap/debian/rules1
-rwxr-xr-xdebian/_base/applications/kcmldapcontroller/debian/rules1
-rwxr-xr-xdebian/_base/applications/kcmldapmanager/debian/rules1
-rwxr-xr-xdebian/_base/applications/kcpuload/debian/rules1
-rwxr-xr-xdebian/_base/applications/kdbusnotification/debian/rules1
-rwxr-xr-xdebian/_base/applications/kdiff3/debian/rules1
-rwxr-xr-xdebian/_base/applications/kdirstat/debian/rules1
-rwxr-xr-xdebian/_base/applications/kdpkg/debian/rules1
-rwxr-xr-xdebian/_base/applications/keep/debian/rules1
-rwxr-xr-xdebian/_base/applications/kerberostray/debian/rules1
-rwxr-xr-xdebian/_base/applications/keximdb/debian/rules1
-rwxr-xr-xdebian/_base/applications/kgtk-qt3/debian/rules16
-rwxr-xr-xdebian/_base/applications/kima/debian/rules1
-rwxr-xr-xdebian/_base/applications/kiosktool/debian/rules1
-rwxr-xr-xdebian/_base/applications/kkbswitch/debian/rules1
-rwxr-xr-xdebian/_base/applications/klcddimmer/debian/rules1
-rwxr-xr-xdebian/_base/applications/kmplayer/debian/rules1
-rwxr-xr-xdebian/_base/applications/knemo/debian/rules1
-rwxr-xr-xdebian/_base/applications/knetload/debian/rules1
-rwxr-xr-xdebian/_base/applications/knetstats/debian/rules1
-rwxr-xr-xdebian/_base/applications/knights/debian/rules1
-rwxr-xr-xdebian/_base/applications/knmap/debian/rules1
-rwxr-xr-xdebian/_base/applications/knowit/debian/rules1
-rwxr-xr-xdebian/_base/applications/knutclient/debian/rules1
-rwxr-xr-xdebian/_base/applications/konversation/debian/rules1
-rwxr-xr-xdebian/_base/applications/kooldock/debian/rules1
-rwxr-xr-xdebian/_base/applications/kpicosim/debian/rules1
-rwxr-xr-xdebian/_base/applications/kpilot/debian/rules1
-rwxr-xr-xdebian/_base/applications/kplayer/debian/rules1
-rwxr-xr-xdebian/_base/applications/kpowersave/debian/rules1
-rwxr-xr-xdebian/_base/applications/krename/debian/rules1
-rwxr-xr-xdebian/_base/applications/kscope/debian/rules1
-rwxr-xr-xdebian/_base/applications/ksensors/debian/rules1
-rwxr-xr-xdebian/_base/applications/kshowmail/debian/rules1
-rwxr-xr-xdebian/_base/applications/kshutdown/debian/rules1
-rwxr-xr-xdebian/_base/applications/ksplash-engine-moodin/debian/rules1
-rwxr-xr-xdebian/_base/applications/kstreamripper/debian/rules1
-rwxr-xr-xdebian/_base/applications/ksystemlog/debian/rules1
-rwxr-xr-xdebian/_base/applications/ktechlab/debian/rules1
-rwxr-xr-xdebian/_base/applications/kvkbd/debian/rules1
-rwxr-xr-xdebian/_base/applications/kvpnc/debian/rules1
-rwxr-xr-xdebian/_base/applications/kxmleditor/debian/rules1
-rwxr-xr-xdebian/_base/applications/mathemagics/debian/rules1
-rwxr-xr-xdebian/_base/applications/mplayerthumbs/debian/rules1
-rwxr-xr-xdebian/_base/applications/potracegui/debian/rules1
-rwxr-xr-xdebian/_base/applications/rosegarden/debian/rules1
-rwxr-xr-xdebian/_base/applications/smartcardauth/debian/rules1
-rwxr-xr-xdebian/_base/applications/tastymenu/debian/rules1
-rwxr-xr-xdebian/_base/applications/tde-style-baghira/debian/rules1
-rwxr-xr-xdebian/_base/applications/tde-style-domino/debian/rules1
-rwxr-xr-xdebian/_base/applications/tde-style-ia-ora/debian/rules1
-rwxr-xr-xdebian/_base/applications/tde-style-lipstik/debian/rules1
-rwxr-xr-xdebian/_base/applications/tde-style-qtcurve/debian/rules16
-rwxr-xr-xdebian/_base/applications/tde-systemsettings/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdedocker/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdeio-apt/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdeio-ftps/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdeio-gopher/debian/rules16
-rwxr-xr-xdebian/_base/applications/tdeio-locate/debian/rules16
-rwxr-xr-xdebian/_base/applications/tdeio-sword/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdeio-umountwrapper/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdenetworkmanager/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdepacman/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdepowersave/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdesudo/debian/rules1
-rwxr-xr-xdebian/_base/applications/tdesvn/debian/rules16
-rwxr-xr-xdebian/_base/applications/tdmtheme/debian/rules1
-rwxr-xr-xdebian/_base/applications/tellico/debian/rules1
-rwxr-xr-xdebian/_base/applications/wlassistant/debian/rules16
-rwxr-xr-xdebian/_base/applications/yakuake/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/akode/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/arts/debian/rules17
-rwxr-xr-xdebian/_base/dependencies/avahi-tqt/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/dbus-1-tqt/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/libart-lgpl/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/libcaldav/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/libcarddav/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/libr/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/tqca-tls/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/tqca/debian/rules1
-rwxr-xr-xdebian/_base/dependencies/tqtinterface/debian/rules1
-rwxr-xr-xdebian/_base/libraries/libkexiv2/debian/rules1
-rwxr-xr-xdebian/_base/libraries/libkipi/debian/rules1
-rwxr-xr-xdebian/_base/libraries/libtdeldap/debian/rules1
-rwxr-xr-xdebian/_base/tde-i18n/debian/rules1
-rwxr-xr-xdebian/_base/tdeaddons/debian/rules1
-rwxr-xr-xdebian/_base/tdeadmin/debian/rules1
-rwxr-xr-xdebian/_base/tdeartwork/debian/rules1
-rwxr-xr-xdebian/_base/tdebase/debian/rules1
-rwxr-xr-xdebian/_base/tdeedu/debian/rules1
-rwxr-xr-xdebian/_base/tdegames/debian/rules1
-rwxr-xr-xdebian/_base/tdegraphics/debian/rules1
-rwxr-xr-xdebian/_base/tdelibs/debian/rules1
-rwxr-xr-xdebian/_base/tdemultimedia/debian/rules1
-rwxr-xr-xdebian/_base/tdenetwork/debian/rules1
-rwxr-xr-xdebian/_base/tdepim/debian/rules1
-rwxr-xr-xdebian/_base/tdesdk/debian/rules1
-rwxr-xr-xdebian/_base/tdetoys/debian/rules1
-rwxr-xr-xdebian/_base/tdeutils/debian/rules1
-rwxr-xr-xdebian/_base/tdevelop/debian/rules1
-rwxr-xr-xubuntu/_base/applications/abakus/debian/rules16
-rwxr-xr-xubuntu/_base/applications/amarok/debian/rules1
-rwxr-xr-xubuntu/_base/applications/basket/debian/rules1
-rwxr-xr-xubuntu/_base/applications/codeine/debian/rules1
-rwxr-xr-xubuntu/_base/applications/compizconfig-backend-tdeconfig/debian/rules1
-rwxr-xr-xubuntu/_base/applications/dolphin/debian/rules1
-rwxr-xr-xubuntu/_base/applications/filelight/debian/rules1
-rwxr-xr-xubuntu/_base/applications/gtk-qt-engine/debian/rules15
-rwxr-xr-xubuntu/_base/applications/gwenview-i18n/debian/rules1
-rwxr-xr-xubuntu/_base/applications/k3b-i18n/debian/rules1
-rwxr-xr-xubuntu/_base/applications/k3b/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kaffeine-mozilla/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kaffeine/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kasablanca/debian/rules1
-rwxr-xr-xubuntu/_base/applications/katapult/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kbarcode/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kbfx/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kbibtex/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kbiff/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kbookreader/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kchmviewer/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kcmautostart/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kcmldap/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kcmldapcontroller/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kcmldapmanager/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kcpuload/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kdbusnotification/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kdiff3/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kdirstat/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kdpkg/debian/rules1
-rwxr-xr-xubuntu/_base/applications/keep/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kerberostray/debian/rules1
-rwxr-xr-xubuntu/_base/applications/keximdb/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kgtk-qt3/debian/rules16
-rwxr-xr-xubuntu/_base/applications/kima/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kiosktool/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kkbswitch/debian/rules1
-rwxr-xr-xubuntu/_base/applications/klcddimmer/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kmplayer/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knemo/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knetload/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knetstats/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knights/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knmap/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knowit/debian/rules1
-rwxr-xr-xubuntu/_base/applications/knutclient/debian/rules1
-rwxr-xr-xubuntu/_base/applications/konversation/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kooldock/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kpicosim/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kpilot/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kplayer/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kpowersave/debian/rules1
-rwxr-xr-xubuntu/_base/applications/krename/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kscope/debian/rules1
-rwxr-xr-xubuntu/_base/applications/ksensors/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kshowmail/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kshutdown/debian/rules1
-rwxr-xr-xubuntu/_base/applications/ksplash-engine-moodin/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kstreamripper/debian/rules1
-rwxr-xr-xubuntu/_base/applications/ksystemlog/debian/rules1
-rwxr-xr-xubuntu/_base/applications/ktechlab/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kvkbd/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kvpnc/debian/rules1
-rwxr-xr-xubuntu/_base/applications/kxmleditor/debian/rules1
-rwxr-xr-xubuntu/_base/applications/mathemagics/debian/rules1
-rwxr-xr-xubuntu/_base/applications/mplayerthumbs/debian/rules1
-rwxr-xr-xubuntu/_base/applications/potracegui/debian/rules1
-rwxr-xr-xubuntu/_base/applications/rosegarden/debian/rules1
-rwxr-xr-xubuntu/_base/applications/smartcardauth/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tastymenu/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tde-style-baghira/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tde-style-domino/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tde-style-ia-ora/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tde-style-lipstik/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tde-style-qtcurve/debian/rules16
-rwxr-xr-xubuntu/_base/applications/tde-systemsettings/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdedocker/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdeio-apt/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdeio-ftps/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdeio-gopher/debian/rules16
-rwxr-xr-xubuntu/_base/applications/tdeio-locate/debian/rules16
-rwxr-xr-xubuntu/_base/applications/tdeio-sword/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdeio-umountwrapper/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdenetworkmanager/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdepacman/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdepowersave/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdesudo/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tdesvn/debian/rules16
-rwxr-xr-xubuntu/_base/applications/tdmtheme/debian/rules1
-rwxr-xr-xubuntu/_base/applications/tellico/debian/rules1
-rwxr-xr-xubuntu/_base/applications/wlassistant/debian/rules16
-rwxr-xr-xubuntu/_base/applications/yakuake/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/akode/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/arts/debian/rules17
-rwxr-xr-xubuntu/_base/dependencies/avahi-tqt/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/dbus-1-tqt/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/libart-lgpl/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/libcaldav/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/libcarddav/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/libr/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/tqca-tls/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/tqca/debian/rules1
-rwxr-xr-xubuntu/_base/dependencies/tqtinterface/debian/rules1
-rwxr-xr-xubuntu/_base/libraries/libkexiv2/debian/rules1
-rwxr-xr-xubuntu/_base/libraries/libkipi/debian/rules1
-rwxr-xr-xubuntu/_base/libraries/libtdeldap/debian/rules1
-rwxr-xr-xubuntu/_base/tde-i18n/debian/rules1
-rwxr-xr-xubuntu/_base/tdeaddons/debian/rules1
-rwxr-xr-xubuntu/_base/tdeadmin/debian/rules1
-rwxr-xr-xubuntu/_base/tdeartwork/debian/rules1
-rwxr-xr-xubuntu/_base/tdebase/debian/rules1
-rwxr-xr-xubuntu/_base/tdeedu/debian/rules1
-rwxr-xr-xubuntu/_base/tdegames/debian/rules1
-rwxr-xr-xubuntu/_base/tdegraphics/debian/rules1
-rwxr-xr-xubuntu/_base/tdelibs/debian/rules1
-rwxr-xr-xubuntu/_base/tdemultimedia/debian/rules1
-rwxr-xr-xubuntu/_base/tdenetwork/debian/rules1
-rwxr-xr-xubuntu/_base/tdepim/debian/rules1
-rwxr-xr-xubuntu/_base/tdesdk/debian/rules1
-rwxr-xr-xubuntu/_base/tdetoys/debian/rules1
-rwxr-xr-xubuntu/_base/tdeutils/debian/rules1
-rwxr-xr-xubuntu/_base/tdevelop/debian/rules1
244 files changed, 478 insertions, 36 deletions
diff --git a/debian/_base/applications/abakus/debian/rules b/debian/_base/applications/abakus/debian/rules
index 391007b8a..d5221b39b 100755
--- a/debian/_base/applications/abakus/debian/rules
+++ b/debian/_base/applications/abakus/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/amarok/debian/rules b/debian/_base/applications/amarok/debian/rules
index cb4758734..75146ddca 100755
--- a/debian/_base/applications/amarok/debian/rules
+++ b/debian/_base/applications/amarok/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/debian/_base/applications/basket/debian/rules b/debian/_base/applications/basket/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/basket/debian/rules
+++ b/debian/_base/applications/basket/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/codeine/debian/rules b/debian/_base/applications/codeine/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/codeine/debian/rules
+++ b/debian/_base/applications/codeine/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules b/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/debian/_base/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/dolphin/debian/rules b/debian/_base/applications/dolphin/debian/rules
index 13a548f73..8d28bb5ba 100755
--- a/debian/_base/applications/dolphin/debian/rules
+++ b/debian/_base/applications/dolphin/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/filelight/debian/rules b/debian/_base/applications/filelight/debian/rules
index 9dd0633fa..d9ef0cae3 100755
--- a/debian/_base/applications/filelight/debian/rules
+++ b/debian/_base/applications/filelight/debian/rules
@@ -17,6 +17,7 @@ DEB_DH_ALWAYS_EXCLUDE=.svn
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/gtk-qt-engine/debian/rules b/debian/_base/applications/gtk-qt-engine/debian/rules
index 7c03d82c4..23c51fe19 100755
--- a/debian/_base/applications/gtk-qt-engine/debian/rules
+++ b/debian/_base/applications/gtk-qt-engine/debian/rules
@@ -22,8 +22,19 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/gwenview-i18n/debian/rules b/debian/_base/applications/gwenview-i18n/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/gwenview-i18n/debian/rules
+++ b/debian/_base/applications/gwenview-i18n/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/k3b-i18n/debian/rules b/debian/_base/applications/k3b-i18n/debian/rules
index b39ae7f08..3187f4385 100755
--- a/debian/_base/applications/k3b-i18n/debian/rules
+++ b/debian/_base/applications/k3b-i18n/debian/rules
@@ -4,6 +4,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.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" \
diff --git a/debian/_base/applications/k3b/debian/rules b/debian/_base/applications/k3b/debian/rules
index c62fed4d5..12173a7e4 100755
--- a/debian/_base/applications/k3b/debian/rules
+++ b/debian/_base/applications/k3b/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS = --with-k3bsetup=no --with-extra-libs=/opt/trinity/lib --includedir="/opt/trinity/include/tde"
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kaffeine-mozilla/debian/rules b/debian/_base/applications/kaffeine-mozilla/debian/rules
index 1e2d330b9..806642cbf 100755
--- a/debian/_base/applications/kaffeine-mozilla/debian/rules
+++ b/debian/_base/applications/kaffeine-mozilla/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
diff --git a/debian/_base/applications/kaffeine/debian/rules b/debian/_base/applications/kaffeine/debian/rules
index d38f693a3..76edc3a0d 100755
--- a/debian/_base/applications/kaffeine/debian/rules
+++ b/debian/_base/applications/kaffeine/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/debian/_base/applications/kasablanca/debian/rules b/debian/_base/applications/kasablanca/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kasablanca/debian/rules
+++ b/debian/_base/applications/kasablanca/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/katapult/debian/rules b/debian/_base/applications/katapult/debian/rules
index 52a7fd022..ebb9ea16b 100755
--- a/debian/_base/applications/katapult/debian/rules
+++ b/debian/_base/applications/katapult/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kbarcode/debian/rules b/debian/_base/applications/kbarcode/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kbarcode/debian/rules
+++ b/debian/_base/applications/kbarcode/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kbfx/debian/rules b/debian/_base/applications/kbfx/debian/rules
index 04b0a0359..aa3fc3652 100755
--- a/debian/_base/applications/kbfx/debian/rules
+++ b/debian/_base/applications/kbfx/debian/rules
@@ -10,6 +10,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_CMAKE_EXTRA_FLAGS =\
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
-DCMAKE_INCLUDE_PATH="/opt/trinity/include" \
diff --git a/debian/_base/applications/kbibtex/debian/rules b/debian/_base/applications/kbibtex/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kbibtex/debian/rules
+++ b/debian/_base/applications/kbibtex/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kbiff/debian/rules b/debian/_base/applications/kbiff/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kbiff/debian/rules
+++ b/debian/_base/applications/kbiff/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kbookreader/debian/rules b/debian/_base/applications/kbookreader/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kbookreader/debian/rules
+++ b/debian/_base/applications/kbookreader/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kchmviewer/debian/rules b/debian/_base/applications/kchmviewer/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kchmviewer/debian/rules
+++ b/debian/_base/applications/kchmviewer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kcmautostart/debian/rules b/debian/_base/applications/kcmautostart/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kcmautostart/debian/rules
+++ b/debian/_base/applications/kcmautostart/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kcmldap/debian/rules b/debian/_base/applications/kcmldap/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kcmldap/debian/rules
+++ b/debian/_base/applications/kcmldap/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kcmldapcontroller/debian/rules b/debian/_base/applications/kcmldapcontroller/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kcmldapcontroller/debian/rules
+++ b/debian/_base/applications/kcmldapcontroller/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kcmldapmanager/debian/rules b/debian/_base/applications/kcmldapmanager/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kcmldapmanager/debian/rules
+++ b/debian/_base/applications/kcmldapmanager/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kcpuload/debian/rules b/debian/_base/applications/kcpuload/debian/rules
index 7ee0b8693..894ebb8b3 100755
--- a/debian/_base/applications/kcpuload/debian/rules
+++ b/debian/_base/applications/kcpuload/debian/rules
@@ -7,6 +7,7 @@ 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" \
diff --git a/debian/_base/applications/kdbusnotification/debian/rules b/debian/_base/applications/kdbusnotification/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kdbusnotification/debian/rules
+++ b/debian/_base/applications/kdbusnotification/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kdiff3/debian/rules b/debian/_base/applications/kdiff3/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kdiff3/debian/rules
+++ b/debian/_base/applications/kdiff3/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kdirstat/debian/rules b/debian/_base/applications/kdirstat/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kdirstat/debian/rules
+++ b/debian/_base/applications/kdirstat/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kdpkg/debian/rules b/debian/_base/applications/kdpkg/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kdpkg/debian/rules
+++ b/debian/_base/applications/kdpkg/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/keep/debian/rules b/debian/_base/applications/keep/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/keep/debian/rules
+++ b/debian/_base/applications/keep/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kerberostray/debian/rules b/debian/_base/applications/kerberostray/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kerberostray/debian/rules
+++ b/debian/_base/applications/kerberostray/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/keximdb/debian/rules b/debian/_base/applications/keximdb/debian/rules
index d12b3b408..79eb6aada 100755
--- a/debian/_base/applications/keximdb/debian/rules
+++ b/debian/_base/applications/keximdb/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kgtk-qt3/debian/rules b/debian/_base/applications/kgtk-qt3/debian/rules
index 877cefbb8..6c50cfb9e 100755
--- a/debian/_base/applications/kgtk-qt3/debian/rules
+++ b/debian/_base/applications/kgtk-qt3/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/kima/debian/rules b/debian/_base/applications/kima/debian/rules
index 5598f7f9f..28412bc9d 100755
--- a/debian/_base/applications/kima/debian/rules
+++ b/debian/_base/applications/kima/debian/rules
@@ -10,6 +10,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
WITH_NVCONTROL = $(if $(filter $(DEB_HOST_ARCH_CPU),amd64 i386),ON,OFF)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kiosktool/debian/rules b/debian/_base/applications/kiosktool/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kiosktool/debian/rules
+++ b/debian/_base/applications/kiosktool/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kkbswitch/debian/rules b/debian/_base/applications/kkbswitch/debian/rules
index ed8854bab..cce9eac4c 100755
--- a/debian/_base/applications/kkbswitch/debian/rules
+++ b/debian/_base/applications/kkbswitch/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/klcddimmer/debian/rules b/debian/_base/applications/klcddimmer/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/klcddimmer/debian/rules
+++ b/debian/_base/applications/klcddimmer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kmplayer/debian/rules b/debian/_base/applications/kmplayer/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kmplayer/debian/rules
+++ b/debian/_base/applications/kmplayer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/knemo/debian/rules b/debian/_base/applications/knemo/debian/rules
index 0f312cb4c..5a0da42af 100755
--- a/debian/_base/applications/knemo/debian/rules
+++ b/debian/_base/applications/knemo/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/debian/_base/applications/knetload/debian/rules b/debian/_base/applications/knetload/debian/rules
index 3c4dc0568..65318dd0d 100755
--- a/debian/_base/applications/knetload/debian/rules
+++ b/debian/_base/applications/knetload/debian/rules
@@ -13,6 +13,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/knetstats/debian/rules b/debian/_base/applications/knetstats/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/knetstats/debian/rules
+++ b/debian/_base/applications/knetstats/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/knights/debian/rules b/debian/_base/applications/knights/debian/rules
index 43a22501b..2b56aa5de 100755
--- a/debian/_base/applications/knights/debian/rules
+++ b/debian/_base/applications/knights/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/knmap/debian/rules b/debian/_base/applications/knmap/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/knmap/debian/rules
+++ b/debian/_base/applications/knmap/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/knowit/debian/rules b/debian/_base/applications/knowit/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/knowit/debian/rules
+++ b/debian/_base/applications/knowit/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/knutclient/debian/rules b/debian/_base/applications/knutclient/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/knutclient/debian/rules
+++ b/debian/_base/applications/knutclient/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/konversation/debian/rules b/debian/_base/applications/konversation/debian/rules
index 1168118d6..13de3bade 100755
--- a/debian/_base/applications/konversation/debian/rules
+++ b/debian/_base/applications/konversation/debian/rules
@@ -16,6 +16,7 @@ DEB_INSTALL_DOCS_ALL =
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kooldock/debian/rules b/debian/_base/applications/kooldock/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kooldock/debian/rules
+++ b/debian/_base/applications/kooldock/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/kpicosim/debian/rules b/debian/_base/applications/kpicosim/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kpicosim/debian/rules
+++ b/debian/_base/applications/kpicosim/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kpilot/debian/rules b/debian/_base/applications/kpilot/debian/rules
index 45d8b262e..db3fcbede 100755
--- a/debian/_base/applications/kpilot/debian/rules
+++ b/debian/_base/applications/kpilot/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kplayer/debian/rules b/debian/_base/applications/kplayer/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kplayer/debian/rules
+++ b/debian/_base/applications/kplayer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kpowersave/debian/rules b/debian/_base/applications/kpowersave/debian/rules
index 1273679da..59e0f7751 100755
--- a/debian/_base/applications/kpowersave/debian/rules
+++ b/debian/_base/applications/kpowersave/debian/rules
@@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/krename/debian/rules b/debian/_base/applications/krename/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/krename/debian/rules
+++ b/debian/_base/applications/krename/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kscope/debian/rules b/debian/_base/applications/kscope/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kscope/debian/rules
+++ b/debian/_base/applications/kscope/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/ksensors/debian/rules b/debian/_base/applications/ksensors/debian/rules
index 8118fea0b..59588e933 100755
--- a/debian/_base/applications/ksensors/debian/rules
+++ b/debian/_base/applications/ksensors/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kshowmail/debian/rules b/debian/_base/applications/kshowmail/debian/rules
index 0f312cb4c..5a0da42af 100755
--- a/debian/_base/applications/kshowmail/debian/rules
+++ b/debian/_base/applications/kshowmail/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/debian/_base/applications/kshutdown/debian/rules b/debian/_base/applications/kshutdown/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kshutdown/debian/rules
+++ b/debian/_base/applications/kshutdown/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/ksplash-engine-moodin/debian/rules b/debian/_base/applications/ksplash-engine-moodin/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/ksplash-engine-moodin/debian/rules
+++ b/debian/_base/applications/ksplash-engine-moodin/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kstreamripper/debian/rules b/debian/_base/applications/kstreamripper/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kstreamripper/debian/rules
+++ b/debian/_base/applications/kstreamripper/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/ksystemlog/debian/rules b/debian/_base/applications/ksystemlog/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/ksystemlog/debian/rules
+++ b/debian/_base/applications/ksystemlog/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/ktechlab/debian/rules b/debian/_base/applications/ktechlab/debian/rules
index 7855de455..b4b3fc8cb 100755
--- a/debian/_base/applications/ktechlab/debian/rules
+++ b/debian/_base/applications/ktechlab/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/debian/_base/applications/kvkbd/debian/rules b/debian/_base/applications/kvkbd/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kvkbd/debian/rules
+++ b/debian/_base/applications/kvkbd/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kvpnc/debian/rules b/debian/_base/applications/kvpnc/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/kvpnc/debian/rules
+++ b/debian/_base/applications/kvpnc/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/kxmleditor/debian/rules b/debian/_base/applications/kxmleditor/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/kxmleditor/debian/rules
+++ b/debian/_base/applications/kxmleditor/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/mathemagics/debian/rules b/debian/_base/applications/mathemagics/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/mathemagics/debian/rules
+++ b/debian/_base/applications/mathemagics/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/mplayerthumbs/debian/rules b/debian/_base/applications/mplayerthumbs/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/mplayerthumbs/debian/rules
+++ b/debian/_base/applications/mplayerthumbs/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/potracegui/debian/rules b/debian/_base/applications/potracegui/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/potracegui/debian/rules
+++ b/debian/_base/applications/potracegui/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/rosegarden/debian/rules b/debian/_base/applications/rosegarden/debian/rules
index 6e3b7df21..be431c033 100755
--- a/debian/_base/applications/rosegarden/debian/rules
+++ b/debian/_base/applications/rosegarden/debian/rules
@@ -14,6 +14,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/smartcardauth/debian/rules b/debian/_base/applications/smartcardauth/debian/rules
index b51d7e7ba..b5f130de7 100755
--- a/debian/_base/applications/smartcardauth/debian/rules
+++ b/debian/_base/applications/smartcardauth/debian/rules
@@ -17,6 +17,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tastymenu/debian/rules b/debian/_base/applications/tastymenu/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/tastymenu/debian/rules
+++ b/debian/_base/applications/tastymenu/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tde-style-baghira/debian/rules b/debian/_base/applications/tde-style-baghira/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tde-style-baghira/debian/rules
+++ b/debian/_base/applications/tde-style-baghira/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tde-style-domino/debian/rules b/debian/_base/applications/tde-style-domino/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tde-style-domino/debian/rules
+++ b/debian/_base/applications/tde-style-domino/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tde-style-ia-ora/debian/rules b/debian/_base/applications/tde-style-ia-ora/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/tde-style-ia-ora/debian/rules
+++ b/debian/_base/applications/tde-style-ia-ora/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tde-style-lipstik/debian/rules b/debian/_base/applications/tde-style-lipstik/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/tde-style-lipstik/debian/rules
+++ b/debian/_base/applications/tde-style-lipstik/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tde-style-qtcurve/debian/rules b/debian/_base/applications/tde-style-qtcurve/debian/rules
index 9b96d4f85..32b311c4e 100755
--- a/debian/_base/applications/tde-style-qtcurve/debian/rules
+++ b/debian/_base/applications/tde-style-qtcurve/debian/rules
@@ -21,8 +21,20 @@ DEB_DH_STRIP_ARGS := --dbg-package=tde-style-qtcurve-trinity-dbg
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/tde-systemsettings/debian/rules b/debian/_base/applications/tde-systemsettings/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tde-systemsettings/debian/rules
+++ b/debian/_base/applications/tde-systemsettings/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdedocker/debian/rules b/debian/_base/applications/tdedocker/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdedocker/debian/rules
+++ b/debian/_base/applications/tdedocker/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdeio-apt/debian/rules b/debian/_base/applications/tdeio-apt/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdeio-apt/debian/rules
+++ b/debian/_base/applications/tdeio-apt/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdeio-ftps/debian/rules b/debian/_base/applications/tdeio-ftps/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdeio-ftps/debian/rules
+++ b/debian/_base/applications/tdeio-ftps/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdeio-gopher/debian/rules b/debian/_base/applications/tdeio-gopher/debian/rules
index ec689af11..7c5507748 100755
--- a/debian/_base/applications/tdeio-gopher/debian/rules
+++ b/debian/_base/applications/tdeio-gopher/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/tdeio-locate/debian/rules b/debian/_base/applications/tdeio-locate/debian/rules
index 0f27aed49..2e0315d2a 100755
--- a/debian/_base/applications/tdeio-locate/debian/rules
+++ b/debian/_base/applications/tdeio-locate/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/tdeio-sword/debian/rules b/debian/_base/applications/tdeio-sword/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdeio-sword/debian/rules
+++ b/debian/_base/applications/tdeio-sword/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdeio-umountwrapper/debian/rules b/debian/_base/applications/tdeio-umountwrapper/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdeio-umountwrapper/debian/rules
+++ b/debian/_base/applications/tdeio-umountwrapper/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdenetworkmanager/debian/rules b/debian/_base/applications/tdenetworkmanager/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/tdenetworkmanager/debian/rules
+++ b/debian/_base/applications/tdenetworkmanager/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tdepacman/debian/rules b/debian/_base/applications/tdepacman/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/applications/tdepacman/debian/rules
+++ b/debian/_base/applications/tdepacman/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/applications/tdepowersave/debian/rules b/debian/_base/applications/tdepowersave/debian/rules
index 8c39e239d..d87f7f586 100755
--- a/debian/_base/applications/tdepowersave/debian/rules
+++ b/debian/_base/applications/tdepowersave/debian/rules
@@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdesudo/debian/rules b/debian/_base/applications/tdesudo/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdesudo/debian/rules
+++ b/debian/_base/applications/tdesudo/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tdesvn/debian/rules b/debian/_base/applications/tdesvn/debian/rules
index b142b22ec..7c91ce434 100755
--- a/debian/_base/applications/tdesvn/debian/rules
+++ b/debian/_base/applications/tdesvn/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/tdmtheme/debian/rules b/debian/_base/applications/tdmtheme/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/tdmtheme/debian/rules
+++ b/debian/_base/applications/tdmtheme/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/tellico/debian/rules b/debian/_base/applications/tellico/debian/rules
index a75c58ccf..7b40ec99e 100755
--- a/debian/_base/applications/tellico/debian/rules
+++ b/debian/_base/applications/tellico/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
--enable-webcam
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/applications/wlassistant/debian/rules b/debian/_base/applications/wlassistant/debian/rules
index 1102d407d..0abf76ac2 100755
--- a/debian/_base/applications/wlassistant/debian/rules
+++ b/debian/_base/applications/wlassistant/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/debian/_base/applications/yakuake/debian/rules b/debian/_base/applications/yakuake/debian/rules
index 18aa16b96..905d63101 100755
--- a/debian/_base/applications/yakuake/debian/rules
+++ b/debian/_base/applications/yakuake/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/dependencies/akode/debian/rules b/debian/_base/dependencies/akode/debian/rules
index a3ea2722b..c912fbebf 100755
--- a/debian/_base/dependencies/akode/debian/rules
+++ b/debian/_base/dependencies/akode/debian/rules
@@ -22,6 +22,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/arts/debian/rules b/debian/_base/dependencies/arts/debian/rules
index c3167d04f..708852525 100755
--- a/debian/_base/dependencies/arts/debian/rules
+++ b/debian/_base/dependencies/arts/debian/rules
@@ -12,8 +12,21 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
-DEB_CMAKE_EXTRA_FLAGS := -DPKGCONFIG_INSTALL_DIR="/usr/lib/pkgconfig" -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" -DWITH_GCC_VISIBILITY="ON" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DPKGCONFIG_INSTALL_DIR="/usr/lib/pkgconfig" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_GCC_VISIBILITY="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_STRIP_ARGS := --dbg-package=arts-trinity-dbg
diff --git a/debian/_base/dependencies/avahi-tqt/debian/rules b/debian/_base/dependencies/avahi-tqt/debian/rules
index 32d30901d..89f073b9f 100755
--- a/debian/_base/dependencies/avahi-tqt/debian/rules
+++ b/debian/_base/dependencies/avahi-tqt/debian/rules
@@ -9,6 +9,7 @@ export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/dbus-1-tqt/debian/rules b/debian/_base/dependencies/dbus-1-tqt/debian/rules
index 0c9611c12..00935ed3a 100755
--- a/debian/_base/dependencies/dbus-1-tqt/debian/rules
+++ b/debian/_base/dependencies/dbus-1-tqt/debian/rules
@@ -11,6 +11,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/libart-lgpl/debian/rules b/debian/_base/dependencies/libart-lgpl/debian/rules
index 9f7abd076..86885792c 100755
--- a/debian/_base/dependencies/libart-lgpl/debian/rules
+++ b/debian/_base/dependencies/libart-lgpl/debian/rules
@@ -12,6 +12,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/libcaldav/debian/rules b/debian/_base/dependencies/libcaldav/debian/rules
index c75240154..bdcb3033c 100755
--- a/debian/_base/dependencies/libcaldav/debian/rules
+++ b/debian/_base/dependencies/libcaldav/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/libcarddav/debian/rules b/debian/_base/dependencies/libcarddav/debian/rules
index c75240154..bdcb3033c 100755
--- a/debian/_base/dependencies/libcarddav/debian/rules
+++ b/debian/_base/dependencies/libcarddav/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/libr/debian/rules b/debian/_base/dependencies/libr/debian/rules
index 5d37a7e50..808640608 100755
--- a/debian/_base/dependencies/libr/debian/rules
+++ b/debian/_base/dependencies/libr/debian/rules
@@ -11,6 +11,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
diff --git a/debian/_base/dependencies/tqca-tls/debian/rules b/debian/_base/dependencies/tqca-tls/debian/rules
index 5ea7b5378..8c2dd70cc 100755
--- a/debian/_base/dependencies/tqca-tls/debian/rules
+++ b/debian/_base/dependencies/tqca-tls/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/dependencies/tqca/debian/rules b/debian/_base/dependencies/tqca/debian/rules
index 5d7f84feb..ec48d0a8d 100755
--- a/debian/_base/dependencies/tqca/debian/rules
+++ b/debian/_base/dependencies/tqca/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/debian/_base/dependencies/tqtinterface/debian/rules b/debian/_base/dependencies/tqtinterface/debian/rules
index fd982b211..0700e9a39 100755
--- a/debian/_base/dependencies/tqtinterface/debian/rules
+++ b/debian/_base/dependencies/tqtinterface/debian/rules
@@ -13,6 +13,7 @@ DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
diff --git a/debian/_base/libraries/libkexiv2/debian/rules b/debian/_base/libraries/libkexiv2/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/libraries/libkexiv2/debian/rules
+++ b/debian/_base/libraries/libkexiv2/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/libraries/libkipi/debian/rules b/debian/_base/libraries/libkipi/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/debian/_base/libraries/libkipi/debian/rules
+++ b/debian/_base/libraries/libkipi/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/libraries/libtdeldap/debian/rules b/debian/_base/libraries/libtdeldap/debian/rules
index 3c4dc0568..65318dd0d 100755
--- a/debian/_base/libraries/libtdeldap/debian/rules
+++ b/debian/_base/libraries/libtdeldap/debian/rules
@@ -13,6 +13,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/tde-i18n/debian/rules b/debian/_base/tde-i18n/debian/rules
index cf6f410a5..0a35582c1 100755
--- a/debian/_base/tde-i18n/debian/rules
+++ b/debian/_base/tde-i18n/debian/rules
@@ -38,6 +38,7 @@ configkde=\
--mandir=$(DEB_CONFIGURE_MANDIR)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdeaddons/debian/rules b/debian/_base/tdeaddons/debian/rules
index 677ee562c..6ddd2c0b1 100755
--- a/debian/_base/tdeaddons/debian/rules
+++ b/debian/_base/tdeaddons/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --without-xmms --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --mandir=/opt/trinity/share/man
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdeadmin/debian/rules b/debian/_base/tdeadmin/debian/rules
index 8061a591c..692ea7674 100755
--- a/debian/_base/tdeadmin/debian/rules
+++ b/debian/_base/tdeadmin/debian/rules
@@ -21,6 +21,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
--with-private-groups --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/tdeartwork/debian/rules b/debian/_base/tdeartwork/debian/rules
index e7e525fa6..5d38f08b6 100755
--- a/debian/_base/tdeartwork/debian/rules
+++ b/debian/_base/tdeartwork/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdebase/debian/rules b/debian/_base/tdebase/debian/rules
index 2a8a1e2d4..0da0af2b5 100755
--- a/debian/_base/tdebase/debian/rules
+++ b/debian/_base/tdebase/debian/rules
@@ -18,6 +18,7 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdeedu/debian/rules b/debian/_base/tdeedu/debian/rules
index 0070b7556..fa6957b40 100755
--- a/debian/_base/tdeedu/debian/rules
+++ b/debian/_base/tdeedu/debian/rules
@@ -23,6 +23,7 @@ PACKAGES_WITH_LIBS := libtdeedu3-trinity libkiten1-trinity kvoctrain-trinity
HAVE_OCAMLOPT= $(if $(wildcard /usr/bin/ocamlopt),ON,OFF)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/tdegames/debian/rules b/debian/_base/tdegames/debian/rules
index fb819d242..871437151 100755
--- a/debian/_base/tdegames/debian/rules
+++ b/debian/_base/tdegames/debian/rules
@@ -18,6 +18,7 @@ DEB_KDE_APIDOX := yes
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DBIN_INSTALL_DIR="/opt/trinity/games" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdegraphics/debian/rules b/debian/_base/tdegraphics/debian/rules
index 2f10c052a..2ff13720d 100755
--- a/debian/_base/tdegraphics/debian/rules
+++ b/debian/_base/tdegraphics/debian/rules
@@ -14,6 +14,7 @@ include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdelibs/debian/rules b/debian/_base/tdelibs/debian/rules
index b5ca427d9..8ec50af72 100755
--- a/debian/_base/tdelibs/debian/rules
+++ b/debian/_base/tdelibs/debian/rules
@@ -20,6 +20,7 @@ version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdemultimedia/debian/rules b/debian/_base/tdemultimedia/debian/rules
index e0ee9cd83..7234ee70e 100755
--- a/debian/_base/tdemultimedia/debian/rules
+++ b/debian/_base/tdemultimedia/debian/rules
@@ -19,6 +19,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
# "juk/Makefile.am: arts_includes vs ARTS_CFLAGS" in -talk.
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdenetwork/debian/rules b/debian/_base/tdenetwork/debian/rules
index 2cbe750ee..0ab404480 100755
--- a/debian/_base/tdenetwork/debian/rules
+++ b/debian/_base/tdenetwork/debian/rules
@@ -25,6 +25,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/debian/_base/tdepim/debian/rules b/debian/_base/tdepim/debian/rules
index 5af378895..fef4fe2b9 100755
--- a/debian/_base/tdepim/debian/rules
+++ b/debian/_base/tdepim/debian/rules
@@ -16,6 +16,7 @@ include debian/cdbs/debian-tde.mk
DEB_KDE_APIDOX := yes
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdesdk/debian/rules b/debian/_base/tdesdk/debian/rules
index 82d9ccbc1..b3ca7de94 100755
--- a/debian/_base/tdesdk/debian/rules
+++ b/debian/_base/tdesdk/debian/rules
@@ -19,6 +19,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdetoys/debian/rules b/debian/_base/tdetoys/debian/rules
index 518efa96b..50e0cee99 100755
--- a/debian/_base/tdetoys/debian/rules
+++ b/debian/_base/tdetoys/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --includedir="/opt/trinity/include" --mandir="/opt/trinity/share/man" --infodir="/opt/trinity/share/info"
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdeutils/debian/rules b/debian/_base/tdeutils/debian/rules
index db0dae651..413d87ff6 100755
--- a/debian/_base/tdeutils/debian/rules
+++ b/debian/_base/tdeutils/debian/rules
@@ -18,6 +18,7 @@ DEB_INSTALL_CHANGELOGS_tdefilereplace-trinity := tdefilereplace/ChangeLog
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/debian/_base/tdevelop/debian/rules b/debian/_base/tdevelop/debian/rules
index 2b1734299..5f91d36a7 100755
--- a/debian/_base/tdevelop/debian/rules
+++ b/debian/_base/tdevelop/debian/rules
@@ -64,6 +64,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
--with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/abakus/debian/rules b/ubuntu/_base/applications/abakus/debian/rules
index 391007b8a..d5221b39b 100755
--- a/ubuntu/_base/applications/abakus/debian/rules
+++ b/ubuntu/_base/applications/abakus/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/amarok/debian/rules b/ubuntu/_base/applications/amarok/debian/rules
index cb4758734..75146ddca 100755
--- a/ubuntu/_base/applications/amarok/debian/rules
+++ b/ubuntu/_base/applications/amarok/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/ubuntu/_base/applications/basket/debian/rules b/ubuntu/_base/applications/basket/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/basket/debian/rules
+++ b/ubuntu/_base/applications/basket/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/codeine/debian/rules b/ubuntu/_base/applications/codeine/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/codeine/debian/rules
+++ b/ubuntu/_base/applications/codeine/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/compizconfig-backend-tdeconfig/debian/rules b/ubuntu/_base/applications/compizconfig-backend-tdeconfig/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/compizconfig-backend-tdeconfig/debian/rules
+++ b/ubuntu/_base/applications/compizconfig-backend-tdeconfig/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/dolphin/debian/rules b/ubuntu/_base/applications/dolphin/debian/rules
index 13a548f73..8d28bb5ba 100755
--- a/ubuntu/_base/applications/dolphin/debian/rules
+++ b/ubuntu/_base/applications/dolphin/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/filelight/debian/rules b/ubuntu/_base/applications/filelight/debian/rules
index 9dd0633fa..d9ef0cae3 100755
--- a/ubuntu/_base/applications/filelight/debian/rules
+++ b/ubuntu/_base/applications/filelight/debian/rules
@@ -17,6 +17,7 @@ DEB_DH_ALWAYS_EXCLUDE=.svn
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/gtk-qt-engine/debian/rules b/ubuntu/_base/applications/gtk-qt-engine/debian/rules
index 7c03d82c4..23c51fe19 100755
--- a/ubuntu/_base/applications/gtk-qt-engine/debian/rules
+++ b/ubuntu/_base/applications/gtk-qt-engine/debian/rules
@@ -22,8 +22,19 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/gwenview-i18n/debian/rules b/ubuntu/_base/applications/gwenview-i18n/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/gwenview-i18n/debian/rules
+++ b/ubuntu/_base/applications/gwenview-i18n/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/k3b-i18n/debian/rules b/ubuntu/_base/applications/k3b-i18n/debian/rules
index b39ae7f08..3187f4385 100755
--- a/ubuntu/_base/applications/k3b-i18n/debian/rules
+++ b/ubuntu/_base/applications/k3b-i18n/debian/rules
@@ -4,6 +4,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.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" \
diff --git a/ubuntu/_base/applications/k3b/debian/rules b/ubuntu/_base/applications/k3b/debian/rules
index c62fed4d5..12173a7e4 100755
--- a/ubuntu/_base/applications/k3b/debian/rules
+++ b/ubuntu/_base/applications/k3b/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS = --with-k3bsetup=no --with-extra-libs=/opt/trinity/lib --includedir="/opt/trinity/include/tde"
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kaffeine-mozilla/debian/rules b/ubuntu/_base/applications/kaffeine-mozilla/debian/rules
index 1e2d330b9..806642cbf 100755
--- a/ubuntu/_base/applications/kaffeine-mozilla/debian/rules
+++ b/ubuntu/_base/applications/kaffeine-mozilla/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
diff --git a/ubuntu/_base/applications/kaffeine/debian/rules b/ubuntu/_base/applications/kaffeine/debian/rules
index d38f693a3..76edc3a0d 100755
--- a/ubuntu/_base/applications/kaffeine/debian/rules
+++ b/ubuntu/_base/applications/kaffeine/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/ubuntu/_base/applications/kasablanca/debian/rules b/ubuntu/_base/applications/kasablanca/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kasablanca/debian/rules
+++ b/ubuntu/_base/applications/kasablanca/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/katapult/debian/rules b/ubuntu/_base/applications/katapult/debian/rules
index 52a7fd022..ebb9ea16b 100755
--- a/ubuntu/_base/applications/katapult/debian/rules
+++ b/ubuntu/_base/applications/katapult/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kbarcode/debian/rules b/ubuntu/_base/applications/kbarcode/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kbarcode/debian/rules
+++ b/ubuntu/_base/applications/kbarcode/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kbfx/debian/rules b/ubuntu/_base/applications/kbfx/debian/rules
index 04b0a0359..aa3fc3652 100755
--- a/ubuntu/_base/applications/kbfx/debian/rules
+++ b/ubuntu/_base/applications/kbfx/debian/rules
@@ -10,6 +10,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_CMAKE_EXTRA_FLAGS =\
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
-DCMAKE_INCLUDE_PATH="/opt/trinity/include" \
diff --git a/ubuntu/_base/applications/kbibtex/debian/rules b/ubuntu/_base/applications/kbibtex/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kbibtex/debian/rules
+++ b/ubuntu/_base/applications/kbibtex/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kbiff/debian/rules b/ubuntu/_base/applications/kbiff/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kbiff/debian/rules
+++ b/ubuntu/_base/applications/kbiff/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kbookreader/debian/rules b/ubuntu/_base/applications/kbookreader/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kbookreader/debian/rules
+++ b/ubuntu/_base/applications/kbookreader/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kchmviewer/debian/rules b/ubuntu/_base/applications/kchmviewer/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kchmviewer/debian/rules
+++ b/ubuntu/_base/applications/kchmviewer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kcmautostart/debian/rules b/ubuntu/_base/applications/kcmautostart/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kcmautostart/debian/rules
+++ b/ubuntu/_base/applications/kcmautostart/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kcmldap/debian/rules b/ubuntu/_base/applications/kcmldap/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kcmldap/debian/rules
+++ b/ubuntu/_base/applications/kcmldap/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kcmldapcontroller/debian/rules b/ubuntu/_base/applications/kcmldapcontroller/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kcmldapcontroller/debian/rules
+++ b/ubuntu/_base/applications/kcmldapcontroller/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kcmldapmanager/debian/rules b/ubuntu/_base/applications/kcmldapmanager/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kcmldapmanager/debian/rules
+++ b/ubuntu/_base/applications/kcmldapmanager/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kcpuload/debian/rules b/ubuntu/_base/applications/kcpuload/debian/rules
index 7ee0b8693..894ebb8b3 100755
--- a/ubuntu/_base/applications/kcpuload/debian/rules
+++ b/ubuntu/_base/applications/kcpuload/debian/rules
@@ -7,6 +7,7 @@ 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" \
diff --git a/ubuntu/_base/applications/kdbusnotification/debian/rules b/ubuntu/_base/applications/kdbusnotification/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kdbusnotification/debian/rules
+++ b/ubuntu/_base/applications/kdbusnotification/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kdiff3/debian/rules b/ubuntu/_base/applications/kdiff3/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kdiff3/debian/rules
+++ b/ubuntu/_base/applications/kdiff3/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kdirstat/debian/rules b/ubuntu/_base/applications/kdirstat/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kdirstat/debian/rules
+++ b/ubuntu/_base/applications/kdirstat/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kdpkg/debian/rules b/ubuntu/_base/applications/kdpkg/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kdpkg/debian/rules
+++ b/ubuntu/_base/applications/kdpkg/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/keep/debian/rules b/ubuntu/_base/applications/keep/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/keep/debian/rules
+++ b/ubuntu/_base/applications/keep/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kerberostray/debian/rules b/ubuntu/_base/applications/kerberostray/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kerberostray/debian/rules
+++ b/ubuntu/_base/applications/kerberostray/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/keximdb/debian/rules b/ubuntu/_base/applications/keximdb/debian/rules
index d12b3b408..79eb6aada 100755
--- a/ubuntu/_base/applications/keximdb/debian/rules
+++ b/ubuntu/_base/applications/keximdb/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kgtk-qt3/debian/rules b/ubuntu/_base/applications/kgtk-qt3/debian/rules
index 877cefbb8..6c50cfb9e 100755
--- a/ubuntu/_base/applications/kgtk-qt3/debian/rules
+++ b/ubuntu/_base/applications/kgtk-qt3/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/kima/debian/rules b/ubuntu/_base/applications/kima/debian/rules
index 5598f7f9f..28412bc9d 100755
--- a/ubuntu/_base/applications/kima/debian/rules
+++ b/ubuntu/_base/applications/kima/debian/rules
@@ -10,6 +10,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
WITH_NVCONTROL = $(if $(filter $(DEB_HOST_ARCH_CPU),amd64 i386),ON,OFF)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kiosktool/debian/rules b/ubuntu/_base/applications/kiosktool/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kiosktool/debian/rules
+++ b/ubuntu/_base/applications/kiosktool/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kkbswitch/debian/rules b/ubuntu/_base/applications/kkbswitch/debian/rules
index ed8854bab..cce9eac4c 100755
--- a/ubuntu/_base/applications/kkbswitch/debian/rules
+++ b/ubuntu/_base/applications/kkbswitch/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/klcddimmer/debian/rules b/ubuntu/_base/applications/klcddimmer/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/klcddimmer/debian/rules
+++ b/ubuntu/_base/applications/klcddimmer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kmplayer/debian/rules b/ubuntu/_base/applications/kmplayer/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kmplayer/debian/rules
+++ b/ubuntu/_base/applications/kmplayer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/knemo/debian/rules b/ubuntu/_base/applications/knemo/debian/rules
index 0f312cb4c..5a0da42af 100755
--- a/ubuntu/_base/applications/knemo/debian/rules
+++ b/ubuntu/_base/applications/knemo/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/ubuntu/_base/applications/knetload/debian/rules b/ubuntu/_base/applications/knetload/debian/rules
index 3c4dc0568..65318dd0d 100755
--- a/ubuntu/_base/applications/knetload/debian/rules
+++ b/ubuntu/_base/applications/knetload/debian/rules
@@ -13,6 +13,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/knetstats/debian/rules b/ubuntu/_base/applications/knetstats/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/knetstats/debian/rules
+++ b/ubuntu/_base/applications/knetstats/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/knights/debian/rules b/ubuntu/_base/applications/knights/debian/rules
index 43a22501b..2b56aa5de 100755
--- a/ubuntu/_base/applications/knights/debian/rules
+++ b/ubuntu/_base/applications/knights/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/knmap/debian/rules b/ubuntu/_base/applications/knmap/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/knmap/debian/rules
+++ b/ubuntu/_base/applications/knmap/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/knowit/debian/rules b/ubuntu/_base/applications/knowit/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/knowit/debian/rules
+++ b/ubuntu/_base/applications/knowit/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/knutclient/debian/rules b/ubuntu/_base/applications/knutclient/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/knutclient/debian/rules
+++ b/ubuntu/_base/applications/knutclient/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/konversation/debian/rules b/ubuntu/_base/applications/konversation/debian/rules
index 1168118d6..13de3bade 100755
--- a/ubuntu/_base/applications/konversation/debian/rules
+++ b/ubuntu/_base/applications/konversation/debian/rules
@@ -16,6 +16,7 @@ DEB_INSTALL_DOCS_ALL =
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kooldock/debian/rules b/ubuntu/_base/applications/kooldock/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kooldock/debian/rules
+++ b/ubuntu/_base/applications/kooldock/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/kpicosim/debian/rules b/ubuntu/_base/applications/kpicosim/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kpicosim/debian/rules
+++ b/ubuntu/_base/applications/kpicosim/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kpilot/debian/rules b/ubuntu/_base/applications/kpilot/debian/rules
index 45d8b262e..db3fcbede 100755
--- a/ubuntu/_base/applications/kpilot/debian/rules
+++ b/ubuntu/_base/applications/kpilot/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kplayer/debian/rules b/ubuntu/_base/applications/kplayer/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kplayer/debian/rules
+++ b/ubuntu/_base/applications/kplayer/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kpowersave/debian/rules b/ubuntu/_base/applications/kpowersave/debian/rules
index 1273679da..59e0f7751 100755
--- a/ubuntu/_base/applications/kpowersave/debian/rules
+++ b/ubuntu/_base/applications/kpowersave/debian/rules
@@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/krename/debian/rules b/ubuntu/_base/applications/krename/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/krename/debian/rules
+++ b/ubuntu/_base/applications/krename/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kscope/debian/rules b/ubuntu/_base/applications/kscope/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kscope/debian/rules
+++ b/ubuntu/_base/applications/kscope/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/ksensors/debian/rules b/ubuntu/_base/applications/ksensors/debian/rules
index 8118fea0b..59588e933 100755
--- a/ubuntu/_base/applications/ksensors/debian/rules
+++ b/ubuntu/_base/applications/ksensors/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kshowmail/debian/rules b/ubuntu/_base/applications/kshowmail/debian/rules
index 0f312cb4c..5a0da42af 100755
--- a/ubuntu/_base/applications/kshowmail/debian/rules
+++ b/ubuntu/_base/applications/kshowmail/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/ubuntu/_base/applications/kshutdown/debian/rules b/ubuntu/_base/applications/kshutdown/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kshutdown/debian/rules
+++ b/ubuntu/_base/applications/kshutdown/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/ksplash-engine-moodin/debian/rules b/ubuntu/_base/applications/ksplash-engine-moodin/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/ksplash-engine-moodin/debian/rules
+++ b/ubuntu/_base/applications/ksplash-engine-moodin/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kstreamripper/debian/rules b/ubuntu/_base/applications/kstreamripper/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kstreamripper/debian/rules
+++ b/ubuntu/_base/applications/kstreamripper/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/ksystemlog/debian/rules b/ubuntu/_base/applications/ksystemlog/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/ksystemlog/debian/rules
+++ b/ubuntu/_base/applications/ksystemlog/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/ktechlab/debian/rules b/ubuntu/_base/applications/ktechlab/debian/rules
index 7855de455..b4b3fc8cb 100755
--- a/ubuntu/_base/applications/ktechlab/debian/rules
+++ b/ubuntu/_base/applications/ktechlab/debian/rules
@@ -5,6 +5,7 @@ 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" \
diff --git a/ubuntu/_base/applications/kvkbd/debian/rules b/ubuntu/_base/applications/kvkbd/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kvkbd/debian/rules
+++ b/ubuntu/_base/applications/kvkbd/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kvpnc/debian/rules b/ubuntu/_base/applications/kvpnc/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/kvpnc/debian/rules
+++ b/ubuntu/_base/applications/kvpnc/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/kxmleditor/debian/rules b/ubuntu/_base/applications/kxmleditor/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/kxmleditor/debian/rules
+++ b/ubuntu/_base/applications/kxmleditor/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/mathemagics/debian/rules b/ubuntu/_base/applications/mathemagics/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/mathemagics/debian/rules
+++ b/ubuntu/_base/applications/mathemagics/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/mplayerthumbs/debian/rules b/ubuntu/_base/applications/mplayerthumbs/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/mplayerthumbs/debian/rules
+++ b/ubuntu/_base/applications/mplayerthumbs/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/potracegui/debian/rules b/ubuntu/_base/applications/potracegui/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/potracegui/debian/rules
+++ b/ubuntu/_base/applications/potracegui/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/rosegarden/debian/rules b/ubuntu/_base/applications/rosegarden/debian/rules
index 6e3b7df21..be431c033 100755
--- a/ubuntu/_base/applications/rosegarden/debian/rules
+++ b/ubuntu/_base/applications/rosegarden/debian/rules
@@ -14,6 +14,7 @@ DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/smartcardauth/debian/rules b/ubuntu/_base/applications/smartcardauth/debian/rules
index b51d7e7ba..b5f130de7 100755
--- a/ubuntu/_base/applications/smartcardauth/debian/rules
+++ b/ubuntu/_base/applications/smartcardauth/debian/rules
@@ -17,6 +17,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
DEB_DH_SHLIBDEPS_ARGS_ALL=--dpkg-shlibdeps-params=--ignore-missing-info
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tastymenu/debian/rules b/ubuntu/_base/applications/tastymenu/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/tastymenu/debian/rules
+++ b/ubuntu/_base/applications/tastymenu/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tde-style-baghira/debian/rules b/ubuntu/_base/applications/tde-style-baghira/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tde-style-baghira/debian/rules
+++ b/ubuntu/_base/applications/tde-style-baghira/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tde-style-domino/debian/rules b/ubuntu/_base/applications/tde-style-domino/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tde-style-domino/debian/rules
+++ b/ubuntu/_base/applications/tde-style-domino/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tde-style-ia-ora/debian/rules b/ubuntu/_base/applications/tde-style-ia-ora/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/tde-style-ia-ora/debian/rules
+++ b/ubuntu/_base/applications/tde-style-ia-ora/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tde-style-lipstik/debian/rules b/ubuntu/_base/applications/tde-style-lipstik/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/tde-style-lipstik/debian/rules
+++ b/ubuntu/_base/applications/tde-style-lipstik/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tde-style-qtcurve/debian/rules b/ubuntu/_base/applications/tde-style-qtcurve/debian/rules
index 9b96d4f85..32b311c4e 100755
--- a/ubuntu/_base/applications/tde-style-qtcurve/debian/rules
+++ b/ubuntu/_base/applications/tde-style-qtcurve/debian/rules
@@ -21,8 +21,20 @@ DEB_DH_STRIP_ARGS := --dbg-package=tde-style-qtcurve-trinity-dbg
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/tde-systemsettings/debian/rules b/ubuntu/_base/applications/tde-systemsettings/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tde-systemsettings/debian/rules
+++ b/ubuntu/_base/applications/tde-systemsettings/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdedocker/debian/rules b/ubuntu/_base/applications/tdedocker/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdedocker/debian/rules
+++ b/ubuntu/_base/applications/tdedocker/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdeio-apt/debian/rules b/ubuntu/_base/applications/tdeio-apt/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdeio-apt/debian/rules
+++ b/ubuntu/_base/applications/tdeio-apt/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdeio-ftps/debian/rules b/ubuntu/_base/applications/tdeio-ftps/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdeio-ftps/debian/rules
+++ b/ubuntu/_base/applications/tdeio-ftps/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdeio-gopher/debian/rules b/ubuntu/_base/applications/tdeio-gopher/debian/rules
index ec689af11..7c5507748 100755
--- a/ubuntu/_base/applications/tdeio-gopher/debian/rules
+++ b/ubuntu/_base/applications/tdeio-gopher/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/tdeio-locate/debian/rules b/ubuntu/_base/applications/tdeio-locate/debian/rules
index 0f27aed49..2e0315d2a 100755
--- a/ubuntu/_base/applications/tdeio-locate/debian/rules
+++ b/ubuntu/_base/applications/tdeio-locate/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/tdeio-sword/debian/rules b/ubuntu/_base/applications/tdeio-sword/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdeio-sword/debian/rules
+++ b/ubuntu/_base/applications/tdeio-sword/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdeio-umountwrapper/debian/rules b/ubuntu/_base/applications/tdeio-umountwrapper/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdeio-umountwrapper/debian/rules
+++ b/ubuntu/_base/applications/tdeio-umountwrapper/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdenetworkmanager/debian/rules b/ubuntu/_base/applications/tdenetworkmanager/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/tdenetworkmanager/debian/rules
+++ b/ubuntu/_base/applications/tdenetworkmanager/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tdepacman/debian/rules b/ubuntu/_base/applications/tdepacman/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/applications/tdepacman/debian/rules
+++ b/ubuntu/_base/applications/tdepacman/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/applications/tdepowersave/debian/rules b/ubuntu/_base/applications/tdepowersave/debian/rules
index 8c39e239d..d87f7f586 100755
--- a/ubuntu/_base/applications/tdepowersave/debian/rules
+++ b/ubuntu/_base/applications/tdepowersave/debian/rules
@@ -18,6 +18,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdesudo/debian/rules b/ubuntu/_base/applications/tdesudo/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdesudo/debian/rules
+++ b/ubuntu/_base/applications/tdesudo/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tdesvn/debian/rules b/ubuntu/_base/applications/tdesvn/debian/rules
index b142b22ec..7c91ce434 100755
--- a/ubuntu/_base/applications/tdesvn/debian/rules
+++ b/ubuntu/_base/applications/tdesvn/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/tdmtheme/debian/rules b/ubuntu/_base/applications/tdmtheme/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/tdmtheme/debian/rules
+++ b/ubuntu/_base/applications/tdmtheme/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/tellico/debian/rules b/ubuntu/_base/applications/tellico/debian/rules
index a75c58ccf..7b40ec99e 100755
--- a/ubuntu/_base/applications/tellico/debian/rules
+++ b/ubuntu/_base/applications/tellico/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
--enable-webcam
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/applications/wlassistant/debian/rules b/ubuntu/_base/applications/wlassistant/debian/rules
index 1102d407d..0abf76ac2 100755
--- a/ubuntu/_base/applications/wlassistant/debian/rules
+++ b/ubuntu/_base/applications/wlassistant/debian/rules
@@ -17,8 +17,20 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
-DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
diff --git a/ubuntu/_base/applications/yakuake/debian/rules b/ubuntu/_base/applications/yakuake/debian/rules
index 18aa16b96..905d63101 100755
--- a/ubuntu/_base/applications/yakuake/debian/rules
+++ b/ubuntu/_base/applications/yakuake/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/dependencies/akode/debian/rules b/ubuntu/_base/dependencies/akode/debian/rules
index a3ea2722b..c912fbebf 100755
--- a/ubuntu/_base/dependencies/akode/debian/rules
+++ b/ubuntu/_base/dependencies/akode/debian/rules
@@ -22,6 +22,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/arts/debian/rules b/ubuntu/_base/dependencies/arts/debian/rules
index c3167d04f..708852525 100755
--- a/ubuntu/_base/dependencies/arts/debian/rules
+++ b/ubuntu/_base/dependencies/arts/debian/rules
@@ -12,8 +12,21 @@ include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
-DEB_CMAKE_EXTRA_FLAGS := -DPKGCONFIG_INSTALL_DIR="/usr/lib/pkgconfig" -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" -DWITH_GCC_VISIBILITY="ON" \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DPKGCONFIG_INSTALL_DIR="/usr/lib/pkgconfig" \
+ -DLIB_SUFFIX="" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" \
+ -DCMAKE_INCLUDE_PATH="/opt/trinity/include/tde" \
+ -DAUTODETECT_QT_DIRS="ON" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DBUILD_ALL="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_GCC_VISIBILITY="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
DEB_DH_STRIP_ARGS := --dbg-package=arts-trinity-dbg
diff --git a/ubuntu/_base/dependencies/avahi-tqt/debian/rules b/ubuntu/_base/dependencies/avahi-tqt/debian/rules
index 32d30901d..89f073b9f 100755
--- a/ubuntu/_base/dependencies/avahi-tqt/debian/rules
+++ b/ubuntu/_base/dependencies/avahi-tqt/debian/rules
@@ -9,6 +9,7 @@ export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,-z,defs -Wl,-O1
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/dbus-1-tqt/debian/rules b/ubuntu/_base/dependencies/dbus-1-tqt/debian/rules
index 0c9611c12..00935ed3a 100755
--- a/ubuntu/_base/dependencies/dbus-1-tqt/debian/rules
+++ b/ubuntu/_base/dependencies/dbus-1-tqt/debian/rules
@@ -11,6 +11,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/libart-lgpl/debian/rules b/ubuntu/_base/dependencies/libart-lgpl/debian/rules
index 9f7abd076..86885792c 100755
--- a/ubuntu/_base/dependencies/libart-lgpl/debian/rules
+++ b/ubuntu/_base/dependencies/libart-lgpl/debian/rules
@@ -12,6 +12,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/libcaldav/debian/rules b/ubuntu/_base/dependencies/libcaldav/debian/rules
index c75240154..bdcb3033c 100755
--- a/ubuntu/_base/dependencies/libcaldav/debian/rules
+++ b/ubuntu/_base/dependencies/libcaldav/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/libcarddav/debian/rules b/ubuntu/_base/dependencies/libcarddav/debian/rules
index c75240154..bdcb3033c 100755
--- a/ubuntu/_base/dependencies/libcarddav/debian/rules
+++ b/ubuntu/_base/dependencies/libcarddav/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/libr/debian/rules b/ubuntu/_base/dependencies/libr/debian/rules
index 5d37a7e50..808640608 100755
--- a/ubuntu/_base/dependencies/libr/debian/rules
+++ b/ubuntu/_base/dependencies/libr/debian/rules
@@ -11,6 +11,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
# Build options
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
diff --git a/ubuntu/_base/dependencies/tqca-tls/debian/rules b/ubuntu/_base/dependencies/tqca-tls/debian/rules
index 5ea7b5378..8c2dd70cc 100755
--- a/ubuntu/_base/dependencies/tqca-tls/debian/rules
+++ b/ubuntu/_base/dependencies/tqca-tls/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/dependencies/tqca/debian/rules b/ubuntu/_base/dependencies/tqca/debian/rules
index 5d7f84feb..ec48d0a8d 100755
--- a/ubuntu/_base/dependencies/tqca/debian/rules
+++ b/ubuntu/_base/dependencies/tqca/debian/rules
@@ -14,6 +14,7 @@ else
endif
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
diff --git a/ubuntu/_base/dependencies/tqtinterface/debian/rules b/ubuntu/_base/dependencies/tqtinterface/debian/rules
index fd982b211..0700e9a39 100755
--- a/ubuntu/_base/dependencies/tqtinterface/debian/rules
+++ b/ubuntu/_base/dependencies/tqtinterface/debian/rules
@@ -13,6 +13,7 @@ DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
diff --git a/ubuntu/_base/libraries/libkexiv2/debian/rules b/ubuntu/_base/libraries/libkexiv2/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/libraries/libkexiv2/debian/rules
+++ b/ubuntu/_base/libraries/libkexiv2/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/libraries/libkipi/debian/rules b/ubuntu/_base/libraries/libkipi/debian/rules
index cee2a3058..85bbba0dc 100755
--- a/ubuntu/_base/libraries/libkipi/debian/rules
+++ b/ubuntu/_base/libraries/libkipi/debian/rules
@@ -8,6 +8,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/libraries/libtdeldap/debian/rules b/ubuntu/_base/libraries/libtdeldap/debian/rules
index 3c4dc0568..65318dd0d 100755
--- a/ubuntu/_base/libraries/libtdeldap/debian/rules
+++ b/ubuntu/_base/libraries/libtdeldap/debian/rules
@@ -13,6 +13,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/tde-i18n/debian/rules b/ubuntu/_base/tde-i18n/debian/rules
index cf6f410a5..0a35582c1 100755
--- a/ubuntu/_base/tde-i18n/debian/rules
+++ b/ubuntu/_base/tde-i18n/debian/rules
@@ -38,6 +38,7 @@ configkde=\
--mandir=$(DEB_CONFIGURE_MANDIR)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdeaddons/debian/rules b/ubuntu/_base/tdeaddons/debian/rules
index 677ee562c..6ddd2c0b1 100755
--- a/ubuntu/_base/tdeaddons/debian/rules
+++ b/ubuntu/_base/tdeaddons/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --without-xmms --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --mandir=/opt/trinity/share/man
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdeadmin/debian/rules b/ubuntu/_base/tdeadmin/debian/rules
index 8061a591c..692ea7674 100755
--- a/ubuntu/_base/tdeadmin/debian/rules
+++ b/ubuntu/_base/tdeadmin/debian/rules
@@ -21,6 +21,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
--with-private-groups --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/tdeartwork/debian/rules b/ubuntu/_base/tdeartwork/debian/rules
index e7e525fa6..5d38f08b6 100755
--- a/ubuntu/_base/tdeartwork/debian/rules
+++ b/ubuntu/_base/tdeartwork/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdebase/debian/rules b/ubuntu/_base/tdebase/debian/rules
index 148046171..b23216492 100755
--- a/ubuntu/_base/tdebase/debian/rules
+++ b/ubuntu/_base/tdebase/debian/rules
@@ -18,6 +18,7 @@ DEB_KDE_APIDOX := yes
CXXFLAGS := -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g -Wall $(DEB_OPT_FLAG)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdeedu/debian/rules b/ubuntu/_base/tdeedu/debian/rules
index 0070b7556..fa6957b40 100755
--- a/ubuntu/_base/tdeedu/debian/rules
+++ b/ubuntu/_base/tdeedu/debian/rules
@@ -23,6 +23,7 @@ PACKAGES_WITH_LIBS := libtdeedu3-trinity libkiten1-trinity kvoctrain-trinity
HAVE_OCAMLOPT= $(if $(wildcard /usr/bin/ocamlopt),ON,OFF)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/tdegames/debian/rules b/ubuntu/_base/tdegames/debian/rules
index fb819d242..871437151 100755
--- a/ubuntu/_base/tdegames/debian/rules
+++ b/ubuntu/_base/tdegames/debian/rules
@@ -18,6 +18,7 @@ DEB_KDE_APIDOX := yes
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DBIN_INSTALL_DIR="/opt/trinity/games" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdegraphics/debian/rules b/ubuntu/_base/tdegraphics/debian/rules
index 2f10c052a..2ff13720d 100755
--- a/ubuntu/_base/tdegraphics/debian/rules
+++ b/ubuntu/_base/tdegraphics/debian/rules
@@ -14,6 +14,7 @@ include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdelibs/debian/rules b/ubuntu/_base/tdelibs/debian/rules
index f29b20d04..cb972f02c 100755
--- a/ubuntu/_base/tdelibs/debian/rules
+++ b/ubuntu/_base/tdelibs/debian/rules
@@ -19,6 +19,7 @@ version=Debian Package $(DEB_VERSION)
DEB_OPT_FLAG += -DDEBIAN_VERSION=$(DEB_VERSION)
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdemultimedia/debian/rules b/ubuntu/_base/tdemultimedia/debian/rules
index e0ee9cd83..7234ee70e 100755
--- a/ubuntu/_base/tdemultimedia/debian/rules
+++ b/ubuntu/_base/tdemultimedia/debian/rules
@@ -19,6 +19,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
# "juk/Makefile.am: arts_includes vs ARTS_CFLAGS" in -talk.
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdenetwork/debian/rules b/ubuntu/_base/tdenetwork/debian/rules
index 2cbe750ee..0ab404480 100755
--- a/ubuntu/_base/tdenetwork/debian/rules
+++ b/ubuntu/_base/tdenetwork/debian/rules
@@ -25,6 +25,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc" \
diff --git a/ubuntu/_base/tdepim/debian/rules b/ubuntu/_base/tdepim/debian/rules
index 5af378895..fef4fe2b9 100755
--- a/ubuntu/_base/tdepim/debian/rules
+++ b/ubuntu/_base/tdepim/debian/rules
@@ -16,6 +16,7 @@ include debian/cdbs/debian-tde.mk
DEB_KDE_APIDOX := yes
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DLIB_SUFFIX="" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdesdk/debian/rules b/ubuntu/_base/tdesdk/debian/rules
index 82d9ccbc1..b3ca7de94 100755
--- a/ubuntu/_base/tdesdk/debian/rules
+++ b/ubuntu/_base/tdesdk/debian/rules
@@ -19,6 +19,7 @@ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdetoys/debian/rules b/ubuntu/_base/tdetoys/debian/rules
index 518efa96b..50e0cee99 100755
--- a/ubuntu/_base/tdetoys/debian/rules
+++ b/ubuntu/_base/tdetoys/debian/rules
@@ -14,6 +14,7 @@ cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xine
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --includedir="/opt/trinity/include" --mandir="/opt/trinity/share/man" --infodir="/opt/trinity/share/info"
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdeutils/debian/rules b/ubuntu/_base/tdeutils/debian/rules
index db0dae651..413d87ff6 100755
--- a/ubuntu/_base/tdeutils/debian/rules
+++ b/ubuntu/_base/tdeutils/debian/rules
@@ -18,6 +18,7 @@ DEB_INSTALL_CHANGELOGS_tdefilereplace-trinity := tdefilereplace/ChangeLog
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
diff --git a/ubuntu/_base/tdevelop/debian/rules b/ubuntu/_base/tdevelop/debian/rules
index 2b1734299..5f91d36a7 100755
--- a/ubuntu/_base/tdevelop/debian/rules
+++ b/ubuntu/_base/tdevelop/debian/rules
@@ -64,6 +64,7 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
--with-extra-libs=/opt/trinity/lib
DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \