summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-03-24 06:48:18 +0100
committerPali Roh├ír <[email protected]>2017-12-22 09:10:23 +0100
commit2fbf7755fd850e86e122f5e09b0a8618849af4ff (patch)
treedb5e3139566d3f859794db5dede26a7d4e639201
parent63038084611f7f8f6139838d7c0d6c8ac0a5702e (diff)
Use new cmake variable
-rw-r--r--doc-dev/t1/CMakeLists.txt2
-rw-r--r--doc-dev/t2/CMakeLists.txt4
-rw-r--r--doc-dev/t3/CMakeLists.txt8
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--icons/CMakeLists.txt2
-rw-r--r--kopete/CMakeLists.txt12
-rw-r--r--kopete/addaccountwizard/CMakeLists.txt2
-rw-r--r--kopete/chatwindow/CMakeLists.txt14
-rw-r--r--kopete/chatwindow/a11y/CMakeLists.txt2
-rw-r--r--kopete/config/accounts/CMakeLists.txt4
-rw-r--r--kopete/config/appearance/CMakeLists.txt4
-rw-r--r--kopete/config/avdevice/CMakeLists.txt8
-rw-r--r--kopete/config/behavior/CMakeLists.txt4
-rw-r--r--kopete/config/chatwindow/CMakeLists.txt4
-rw-r--r--kopete/config/plugins/CMakeLists.txt4
-rw-r--r--kopete/config/status/CMakeLists.txt4
-rw-r--r--kopete/contactlist/CMakeLists.txt4
-rw-r--r--kopete/identity/CMakeLists.txt2
-rw-r--r--kopete/kconf_update/CMakeLists.txt8
-rw-r--r--kopete/statusmenu/CMakeLists.txt2
-rw-r--r--libkopete/CMakeLists.txt14
-rw-r--r--libkopete/avdevice/CMakeLists.txt2
-rw-r--r--plugins/addbookmarks/CMakeLists.txt8
-rw-r--r--plugins/alias/CMakeLists.txt8
-rw-r--r--plugins/autoreplace/CMakeLists.txt8
-rw-r--r--plugins/contactnotes/CMakeLists.txt6
-rw-r--r--plugins/cryptography/CMakeLists.txt10
-rw-r--r--plugins/highlight/CMakeLists.txt8
-rw-r--r--plugins/history/CMakeLists.txt12
-rw-r--r--plugins/history2/CMakeLists.txt12
-rw-r--r--plugins/latex/CMakeLists.txt14
-rw-r--r--plugins/nowlistening/CMakeLists.txt12
-rw-r--r--plugins/otr/CMakeLists.txt14
-rw-r--r--plugins/otr/icons/CMakeLists.txt2
-rw-r--r--plugins/pipes/CMakeLists.txt8
-rw-r--r--plugins/privacy/CMakeLists.txt12
-rw-r--r--plugins/statistics/CMakeLists.txt8
-rw-r--r--plugins/texteffect/CMakeLists.txt8
-rw-r--r--plugins/translator/CMakeLists.txt12
-rw-r--r--plugins/urlpicpreview/CMakeLists.txt10
-rw-r--r--plugins/webpresence/CMakeLists.txt12
-rw-r--r--protocols/bonjour/CMakeLists.txt4
-rw-r--r--protocols/bonjour/icons/CMakeLists.txt4
-rw-r--r--protocols/gadu/CMakeLists.txt4
-rw-r--r--protocols/gadu/icons/CMakeLists.txt2
-rw-r--r--protocols/groupwise/CMakeLists.txt6
-rw-r--r--protocols/groupwise/libgroupwise/CMakeLists.txt2
-rw-r--r--protocols/irc/CMakeLists.txt8
-rw-r--r--protocols/irc/icons/CMakeLists.txt2
-rw-r--r--protocols/irc/libkirc/CMakeLists.txt4
-rw-r--r--protocols/irc/libkirc/client/CMakeLists.txt2
-rw-r--r--protocols/jabber/CMakeLists.txt6
-rw-r--r--protocols/jabber/kioslave/CMakeLists.txt4
-rw-r--r--protocols/jabber/libiris/src/jdns/CMakeLists.txt14
-rw-r--r--protocols/jabber/libiris/src/jdns/src/jdns/CMakeLists.txt12
-rw-r--r--protocols/jabber/libiris/src/jdns/src/qjdns/CMakeLists.txt8
-rw-r--r--protocols/jabber/libiris/src/jdns/tools/jdns/CMakeLists.txt10
-rw-r--r--protocols/meanwhile/CMakeLists.txt4
-rw-r--r--protocols/meanwhile/icons/CMakeLists.txt2
-rw-r--r--protocols/oscar/CMakeLists.txt2
-rw-r--r--protocols/oscar/aim/CMakeLists.txt4
-rw-r--r--protocols/oscar/icq/CMakeLists.txt4
-rw-r--r--protocols/oscar/liboscar/CMakeLists.txt2
-rw-r--r--protocols/qq/CMakeLists.txt4
-rw-r--r--protocols/skype/CMakeLists.txt6
-rw-r--r--protocols/skype/icons/CMakeLists.txt2
-rw-r--r--protocols/sms/CMakeLists.txt4
-rw-r--r--protocols/sms/icons/CMakeLists.txt2
-rw-r--r--protocols/sms/services/CMakeLists.txt2
-rw-r--r--protocols/sms/ui/CMakeLists.txt2
-rw-r--r--protocols/testbed/CMakeLists.txt4
-rw-r--r--protocols/testbed/icons/CMakeLists.txt4
-rw-r--r--protocols/winpopup/CMakeLists.txt6
-rw-r--r--protocols/wlm/CMakeLists.txt6
-rw-r--r--protocols/wlm/icons/CMakeLists.txt2
-rw-r--r--protocols/yahoo/CMakeLists.txt6
-rw-r--r--protocols/yahoo/libkyahoo/CMakeLists.txt2
-rw-r--r--sounds/CMakeLists.txt2
-rw-r--r--styles/Clean/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Clean/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Clean/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Clean/Contents/Resources/images/CMakeLists.txt2
-rw-r--r--styles/Clear/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Clear/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Clear/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Clear/Contents/Resources/Variants/CMakeLists.txt2
-rw-r--r--styles/Clear/Contents/Resources/images/CMakeLists.txt2
-rw-r--r--styles/Hacker/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/Resources/Variants/CMakeLists.txt2
-rw-r--r--styles/Hacker/Contents/Resources/images/CMakeLists.txt2
-rw-r--r--styles/Konqi/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Konqi/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Konqi/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Konqi/Contents/Resources/Variants/CMakeLists.txt2
-rw-r--r--styles/Konqi/Contents/Resources/Variants/konqui/CMakeLists.txt2
-rw-r--r--styles/Kopete/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Kopete/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Kopete/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Kopete/Contents/Resources/Variants/CMakeLists.txt2
-rw-r--r--styles/Kopete/Contents/Resources/images/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt2
-rw-r--r--styles/Pidgin/Contents/Resources/images/CMakeLists.txt2
-rw-r--r--styles/Retropete/Contents/Resources/CMakeLists.txt2
-rw-r--r--styles/Retropete/Contents/Resources/Incoming/CMakeLists.txt2
-rw-r--r--styles/Retropete/Contents/Resources/Outgoing/CMakeLists.txt2
-rw-r--r--styles/Retropete/Contents/Resources/images/CMakeLists.txt2
114 files changed, 266 insertions, 266 deletions
diff --git a/doc-dev/t1/CMakeLists.txt b/doc-dev/t1/CMakeLists.txt
index 25e419d..fb5a058 100644
--- a/doc-dev/t1/CMakeLists.txt
+++ b/doc-dev/t1/CMakeLists.txt
@@ -7,4 +7,4 @@ include (MacroLibrary)
########### install the plugins desktop file ###############
-install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/doc-dev/t2/CMakeLists.txt b/doc-dev/t2/CMakeLists.txt
index fbe52e8..5e200e5 100644
--- a/doc-dev/t2/CMakeLists.txt
+++ b/doc-dev/t2/CMakeLists.txt
@@ -7,7 +7,7 @@ include (MacroLibrary)
########### install the plugin desktop file ###############
-install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
########### library containing plugin logic ###############
@@ -32,6 +32,6 @@ add_library(kopete_tutorialplugin MODULE ${kopete_tutorialplugin_PART_SRCS})
target_link_libraries(kopete_tutorialplugin kopete )
# install the result with other KDE plugins
-install(TARGETS kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
diff --git a/doc-dev/t3/CMakeLists.txt b/doc-dev/t3/CMakeLists.txt
index e1a929d..5508300 100644
--- a/doc-dev/t3/CMakeLists.txt
+++ b/doc-dev/t3/CMakeLists.txt
@@ -7,7 +7,7 @@ include (MacroLibrary)
########### install the plugin desktop file ###############
-install(FILES kopete_tutorialplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(FILES kopete_tutorialplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
########### library containing plugin logic ###############
@@ -32,7 +32,7 @@ add_library(kopete_tutorialplugin MODULE ${kopete_tutorialplugin_PART_SRCS})
target_link_libraries(kopete_tutorialplugin kopete )
# install the result with other KDE plugins
-install(TARGETS kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### configuration module ##########################
@@ -45,7 +45,7 @@ add_library(kcm_kopete_tutorialplugin MODULE ${kcm_kopete_tutorialplugin_PART_SR
target_link_libraries(kcm_kopete_tutorialplugin )
-install(TARGETS kcm_kopete_tutorialplugin DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_tutorialplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})
-install( FILES kopete_tutorialplugin_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_tutorialplugin_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 1643912..0a5beba 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,2 +1,2 @@
########### install files ###############
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kopete)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kopete)
diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt
index 113746a..946c2d9 100644
--- a/icons/CMakeLists.txt
+++ b/icons/CMakeLists.txt
@@ -3,4 +3,4 @@ file(GLOB icons_svg "*.svg")
set(all_icons ${icons_png} ${icons_svg})
ecm_install_icons(ICONS ${all_icons} DESTINATION ${KDE_INSTALL_ICONDIR} THEME oxygen)
-ecm_install_icons(${ICON_INSTALL_DIR})
+ecm_install_icons(${KDE_INSTALL_ICONDIR})
diff --git a/kopete/CMakeLists.txt b/kopete/CMakeLists.txt
index 8c585ab..83e806c 100644
--- a/kopete/CMakeLists.txt
+++ b/kopete/CMakeLists.txt
@@ -68,19 +68,19 @@ target_link_libraries(kopete_bin
kopeteidentity
)
-install(TARGETS kopete_bin ${INSTALL_TARGETS_DEFAULT_ARGS} )
+install(TARGETS kopete_bin ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
-install( PROGRAMS kopete.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
+install( PROGRAMS kopete.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES
kopeteui.rc
DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kopete)
-install( FILES kopete.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kopete)
-install( FILES kopeterc DESTINATION ${CONFIG_INSTALL_DIR} )
-install( FILES org.kde.Kopete.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
+install( FILES kopete.notifyrc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
+install( FILES kopeterc DESTINATION ${KDE_INSTALL_CONFDIR} )
+install( FILES org.kde.Kopete.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
-ecm_install_icons( ${ICON_INSTALL_DIR} )
+ecm_install_icons( ${KDE_INSTALL_ICONDIR} )
diff --git a/kopete/addaccountwizard/CMakeLists.txt b/kopete/addaccountwizard/CMakeLists.txt
index 241e508..30ef362 100644
--- a/kopete/addaccountwizard/CMakeLists.txt
+++ b/kopete/addaccountwizard/CMakeLists.txt
@@ -18,7 +18,7 @@ ki18n_wrap_ui( kopeteaddaccountwizard_SRCS
add_library( kopeteaddaccountwizard SHARED ${kopeteaddaccountwizard_SRCS} )
target_link_libraries( kopeteaddaccountwizard kopete )
set_target_properties( kopeteaddaccountwizard PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kopeteaddaccountwizard ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopeteaddaccountwizard ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/kopete/chatwindow/CMakeLists.txt b/kopete/chatwindow/CMakeLists.txt
index ce85d3b..db0b200 100644
--- a/kopete/chatwindow/CMakeLists.txt
+++ b/kopete/chatwindow/CMakeLists.txt
@@ -25,7 +25,7 @@ kconfig_add_kcfg_files(kopetechatwindow_shared_SRCS GENERATE_MOC kopetechatwindo
add_library(kopetechatwindow_shared SHARED ${kopetechatwindow_shared_SRCS})
target_link_libraries(kopetechatwindow_shared kopete Phonon::phonon4qt5 KF5::KHtml )
set_target_properties(kopetechatwindow_shared PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kopetechatwindow_shared ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopetechatwindow_shared ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
@@ -36,7 +36,7 @@ add_library(chattexteditpart MODULE ${chattexteditpart_PART_SRCS})
target_link_libraries(chattexteditpart kopete kopetechatwindow_shared KF5::Parts )
-install(TARGETS chattexteditpart DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS chattexteditpart DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -48,7 +48,7 @@ add_library(kopete_chatwindow MODULE ${kopete_chatwindow_PART_SRCS})
target_link_libraries(kopete_chatwindow kopete kopetechatwindow_shared KF5::KHtml)
-install(TARGETS kopete_chatwindow DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_chatwindow DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -61,7 +61,7 @@ add_library(kopete_emailwindow MODULE ${kopete_emailwindow_PART_SRCS})
target_link_libraries(kopete_emailwindow KF5::Parts KF5::KHtml kopete kopetechatwindow_shared)
-install(TARGETS kopete_emailwindow DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_emailwindow DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -69,9 +69,9 @@ install(TARGETS kopete_emailwindow DESTINATION ${PLUGIN_INSTALL_DIR})
########### install files ###############
-install( FILES kopeterichtexteditpartfull.rc DESTINATION ${DATA_INSTALL_DIR}/kopeterichtexteditpart)
-install( FILES chatwindow.desktop emailwindow.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopetechatwindow.rc kopeteemailwindow.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
+install( FILES kopeterichtexteditpartfull.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopeterichtexteditpart)
+install( FILES chatwindow.desktop emailwindow.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopetechatwindow.rc kopeteemailwindow.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
diff --git a/kopete/chatwindow/a11y/CMakeLists.txt b/kopete/chatwindow/a11y/CMakeLists.txt
index 8dd19a0..42f7602 100644
--- a/kopete/chatwindow/a11y/CMakeLists.txt
+++ b/kopete/chatwindow/a11y/CMakeLists.txt
@@ -2,4 +2,4 @@ include_directories(${KOPETE_INCLUDES})
set(chatwindowaccessiblewidgetfactory_SRCS chatwindowaccessiblewidgetfactory.cpp accessiblechatmessagepart.cpp)
add_library(chatwindowaccessiblewidgetfactory MODULE ${chatwindowaccessiblewidgetfactory_SRCS})
target_link_libraries(chatwindowaccessiblewidgetfactory KF5::KHtml )
-install(TARGETS chatwindowaccessiblewidgetfactory DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/accessible)
+install(TARGETS chatwindowaccessiblewidgetfactory DESTINATION ${KDE_INSTALL_PLUGINDIR}/plugins/accessible)
diff --git a/kopete/config/accounts/CMakeLists.txt b/kopete/config/accounts/CMakeLists.txt
index fe5d058..3c5cf00 100644
--- a/kopete/config/accounts/CMakeLists.txt
+++ b/kopete/config/accounts/CMakeLists.txt
@@ -21,12 +21,12 @@ add_library(kcm_kopete_accountconfig MODULE ${kcm_kopete_accountconfig_PART_SRCS
target_link_libraries(kcm_kopete_accountconfig kopete kopeteaddaccountwizard kopeteidentity)
-install(TARGETS kcm_kopete_accountconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_accountconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_accountconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_accountconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/config/appearance/CMakeLists.txt b/kopete/config/appearance/CMakeLists.txt
index 3c49b6c..fea984c 100644
--- a/kopete/config/appearance/CMakeLists.txt
+++ b/kopete/config/appearance/CMakeLists.txt
@@ -37,12 +37,12 @@ add_library(kcm_kopete_appearanceconfig MODULE ${kcm_kopete_appearanceconfig_PAR
target_link_libraries(kcm_kopete_appearanceconfig KF5::KHtml kopete kopetecontactlist )
-install(TARGETS kcm_kopete_appearanceconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_appearanceconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_appearanceconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_appearanceconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/config/avdevice/CMakeLists.txt b/kopete/config/avdevice/CMakeLists.txt
index b85ed95..01fb35c 100644
--- a/kopete/config/avdevice/CMakeLists.txt
+++ b/kopete/config/avdevice/CMakeLists.txt
@@ -17,12 +17,12 @@ add_library(kcm_kopete_avdeviceconfig MODULE ${kcm_kopete_avdeviceconfig_PART_SR
target_link_libraries(kcm_kopete_avdeviceconfig kopete kopete_videodevice)
-install(TARGETS kcm_kopete_avdeviceconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_avdeviceconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_avdeviceconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_avdeviceconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
-#ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
-ecm_install_icons(${ICON_INSTALL_DIR})
+#ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
+ecm_install_icons(${KDE_INSTALL_ICONDIR})
diff --git a/kopete/config/behavior/CMakeLists.txt b/kopete/config/behavior/CMakeLists.txt
index 38a1f7b..863e82e 100644
--- a/kopete/config/behavior/CMakeLists.txt
+++ b/kopete/config/behavior/CMakeLists.txt
@@ -25,11 +25,11 @@ add_library(kcm_kopete_behaviorconfig MODULE ${kcm_kopete_behaviorconfig_PART_SR
target_link_libraries(kcm_kopete_behaviorconfig kopete)
-install(TARGETS kcm_kopete_behaviorconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_behaviorconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_behaviorconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_behaviorconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/config/chatwindow/CMakeLists.txt b/kopete/config/chatwindow/CMakeLists.txt
index 332dbb4..f244e90 100644
--- a/kopete/config/chatwindow/CMakeLists.txt
+++ b/kopete/config/chatwindow/CMakeLists.txt
@@ -24,11 +24,11 @@ add_library(kcm_kopete_chatwindowconfig MODULE ${kcm_kopete_chatwindowconfig_PAR
target_link_libraries(kcm_kopete_chatwindowconfig kopete kopetechatwindow_shared ${KDE4_KNEWSTUFF2_LIBS} KF5::KHtml)
-install(TARGETS kcm_kopete_chatwindowconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_chatwindowconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_chatwindowconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_chatwindowconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/config/plugins/CMakeLists.txt b/kopete/config/plugins/CMakeLists.txt
index ba07abb..f8936e4 100644
--- a/kopete/config/plugins/CMakeLists.txt
+++ b/kopete/config/plugins/CMakeLists.txt
@@ -11,9 +11,9 @@ add_library(kcm_kopete_pluginconfig MODULE ${kcm_kopete_pluginconfig_PART_SRCS})
target_link_libraries(kcm_kopete_pluginconfig kopete)
-install(TARGETS kcm_kopete_pluginconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_pluginconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_pluginconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_pluginconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/config/status/CMakeLists.txt b/kopete/config/status/CMakeLists.txt
index 9b95592..478d8dd 100644
--- a/kopete/config/status/CMakeLists.txt
+++ b/kopete/config/status/CMakeLists.txt
@@ -18,8 +18,8 @@ add_library(kcm_kopete_statusconfig MODULE ${kcm_kopete_statusconfig_PART_SRCS})
target_link_libraries(kcm_kopete_statusconfig Qt5::Xml kopete)
-install(TARGETS kcm_kopete_statusconfig DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_statusconfig DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_statusconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_statusconfig.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/kopete/contactlist/CMakeLists.txt b/kopete/contactlist/CMakeLists.txt
index fbce9c5..c80c376 100644
--- a/kopete/contactlist/CMakeLists.txt
+++ b/kopete/contactlist/CMakeLists.txt
@@ -43,8 +43,8 @@ target_link_libraries(
${QIMAGEBLITZ_LIBRARIES}
)
set_target_properties( kopetecontactlist PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kopetecontactlist ${INSTALL_TARGETS_DEFAULT_ARGS})
-install( FILES DefaultContactListLayouts.xml CompactContactListLayouts.xml DESTINATION ${DATA_INSTALL_DIR}/kopete)
+install(TARGETS kopetecontactlist ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+install( FILES DefaultContactListLayouts.xml CompactContactListLayouts.xml DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
########### install files ###############
diff --git a/kopete/identity/CMakeLists.txt b/kopete/identity/CMakeLists.txt
index aabffaf..4191616 100644
--- a/kopete/identity/CMakeLists.txt
+++ b/kopete/identity/CMakeLists.txt
@@ -27,7 +27,7 @@ ki18n_wrap_ui( kopeteidentity_SRCS
add_library( kopeteidentity SHARED ${kopeteidentity_SRCS} )
target_link_libraries( kopeteidentity kopeteaddaccountwizard kopete kopetestatusmenu )
set_target_properties( kopeteidentity PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kopeteidentity ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopeteidentity ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/kopete/kconf_update/CMakeLists.txt b/kopete/kconf_update/CMakeLists.txt
index 3246a9f..1a5f189 100644
--- a/kopete/kconf_update/CMakeLists.txt
+++ b/kopete/kconf_update/CMakeLists.txt
@@ -1,13 +1,13 @@
if(NOT WIN32)
- install( PROGRAMS kopete-account-kconf_update.sh kopete-jabberpriorityaddition-kconf_update.sh kopete-pluginloader2.sh kopete-jabberproxytype-kconf_update.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
- install(FILES kopete-account-kconf_update.upd kopete-jabberproxytype-kconf_update.upd kopete-jabberpriorityaddition-kconf_update.upd kopete-pluginloader2.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
+ install( PROGRAMS kopete-account-kconf_update.sh kopete-jabberpriorityaddition-kconf_update.sh kopete-pluginloader2.sh kopete-jabberproxytype-kconf_update.sh DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
+ install(FILES kopete-account-kconf_update.upd kopete-jabberproxytype-kconf_update.upd kopete-jabberpriorityaddition-kconf_update.upd kopete-pluginloader2.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
endif(NOT WIN32)
-install( FILES kopete-pluginloader.upd kopete-nameTracking.upd kopete-initialstatus.upd kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd kopete-update_icq_server.upd kopete-update_icq_ssl.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
+install( FILES kopete-pluginloader.upd kopete-nameTracking.upd kopete-initialstatus.upd kopete-gaim_to_pidgin_style.upd kopete-update_yahoo_server.upd kopete-update_icq_server.upd kopete-update_icq_ssl.upd DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
install( PROGRAMS kopete-pluginloader.pl kopete-update_yahoo_server.pl kopete-update_icq_server.pl kopete-update_icq_ssl.pl
kopete-account-0.10.pl kopete-initialstatus.pl kopete-gaim_to_pidgin_style.pl
- DESTINATION ${KCONF_UPDATE_INSTALL_DIR})
+ DESTINATION ${KDE_INSTALL_KCONFUPDATEDIR})
diff --git a/kopete/statusmenu/CMakeLists.txt b/kopete/statusmenu/CMakeLists.txt
index 44eae22..8ed771f 100644
--- a/kopete/statusmenu/CMakeLists.txt
+++ b/kopete/statusmenu/CMakeLists.txt
@@ -21,7 +21,7 @@ ki18n_wrap_ui( kopetestatusmenu_SRCS
add_library( kopetestatusmenu SHARED ${kopetestatusmenu_SRCS} )
target_link_libraries( kopetestatusmenu kopete KF5::KCMUtils )
set_target_properties( kopetestatusmenu PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kopetestatusmenu ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopetestatusmenu ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/libkopete/CMakeLists.txt b/libkopete/CMakeLists.txt
index e3b3fc9..ee0b0b2 100644
--- a/libkopete/CMakeLists.txt
+++ b/libkopete/CMakeLists.txt
@@ -187,7 +187,7 @@ if(MSVC)
OUTPUT_NAME libkopete
)
endif(MSVC)
-install(TARGETS kopete ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopete ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
@@ -212,17 +212,17 @@ install(FILES
ui/kopetestdaction.h
ui/kopeteview.h
ui/kopeteviewplugin.h
-DESTINATION ${INCLUDE_INSTALL_DIR}/kopete/ui COMPONENT Devel )
+DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kopete/ui COMPONENT Devel )
install( FILES
kopeteappearancesettings.kcfg
kopetebehaviorsettings.kcfg
kopetestatussettings.kcfg
-DESTINATION ${KCFG_INSTALL_DIR})
+DESTINATION ${KDE_INSTALL_KCFGDIR})
-install( FILES kopetecommandui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
-install( FILES kopeteplugin.desktop kopeteprotocol.desktop kopeteui.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR})
+install( FILES kopetecommandui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
+install( FILES kopeteplugin.desktop kopeteprotocol.desktop kopeteui.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
install( FILES
${CMAKE_CURRENT_BINARY_DIR}/kopeteappearancesettings.h
@@ -274,6 +274,6 @@ install( FILES
tasks/kopetecontacttaskbase.h
tasks/kopetedeletecontacttask.h
private/kopeteemoticons.h
-DESTINATION ${INCLUDE_INSTALL_DIR}/kopete COMPONENT Devel)
+DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kopete COMPONENT Devel)
-install( FILES org.kde.kopete.Client.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
+install( FILES org.kde.kopete.Client.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
diff --git a/libkopete/avdevice/CMakeLists.txt b/libkopete/avdevice/CMakeLists.txt
index 2d85cb8..a03e8d0 100644
--- a/libkopete/avdevice/CMakeLists.txt
+++ b/libkopete/avdevice/CMakeLists.txt
@@ -35,7 +35,7 @@ target_link_libraries(kopete_videodevice Qt5::Gui KF5::KDELibs4Support )
endif (LIBV4L2_FOUND)
set_target_properties(kopete_videodevice PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
-install(TARGETS kopete_videodevice ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopete_videodevice ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
diff --git a/plugins/addbookmarks/CMakeLists.txt b/plugins/addbookmarks/CMakeLists.txt
index 95e6daa..5148b8a 100644
--- a/plugins/addbookmarks/CMakeLists.txt
+++ b/plugins/addbookmarks/CMakeLists.txt
@@ -13,7 +13,7 @@ add_library(kopete_addbookmarks MODULE ${kopete_addbookmarks_PART_SRCS})
target_link_libraries(kopete_addbookmarks KF5::KIOCore kopete )
-install(TARGETS kopete_addbookmarks DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_addbookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -28,13 +28,13 @@ add_library(kcm_kopete_addbookmarks MODULE ${kcm_kopete_addbookmarks_PART_SRCS})
target_link_libraries(kcm_kopete_addbookmarks kopete )
-install(TARGETS kcm_kopete_addbookmarks DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_addbookmarks DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_addbookmarks.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_addbookmarks_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_addbookmarks.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_addbookmarks_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/alias/CMakeLists.txt b/plugins/alias/CMakeLists.txt
index 995277d..739cb84 100644
--- a/plugins/alias/CMakeLists.txt
+++ b/plugins/alias/CMakeLists.txt
@@ -12,7 +12,7 @@ add_library(kopete_alias MODULE ${kopete_alias_PART_SRCS})
target_link_libraries(kopete_alias KF5::KDELibs4Support kopete )
-install(TARGETS kopete_alias DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_alias DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -27,13 +27,13 @@ add_library(kcm_kopete_alias MODULE ${kcm_kopete_alias_PART_SRCS})
target_link_libraries(kcm_kopete_alias kopete )
-install(TARGETS kcm_kopete_alias DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_alias DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_alias.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_alias_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_alias.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_alias_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/autoreplace/CMakeLists.txt b/plugins/autoreplace/CMakeLists.txt
index 89b453d..a00cbea 100644
--- a/plugins/autoreplace/CMakeLists.txt
+++ b/plugins/autoreplace/CMakeLists.txt
@@ -14,7 +14,7 @@ add_library(kopete_autoreplace MODULE ${kopete_autoreplace_PART_SRCS})
target_link_libraries(kopete_autoreplace kopete )
-install(TARGETS kopete_autoreplace DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_autoreplace DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -29,13 +29,13 @@ add_library(kcm_kopete_autoreplace MODULE ${kcm_kopete_autoreplace_PART_SRCS})
target_link_libraries(kcm_kopete_autoreplace kopete )
-install(TARGETS kcm_kopete_autoreplace DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_autoreplace DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_autoreplace.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_autoreplace_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_autoreplace.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_autoreplace_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/contactnotes/CMakeLists.txt b/plugins/contactnotes/CMakeLists.txt
index 08262a4..0c8f9dd 100644
--- a/plugins/contactnotes/CMakeLists.txt
+++ b/plugins/contactnotes/CMakeLists.txt
@@ -13,13 +13,13 @@ add_library(kopete_contactnotes MODULE ${kopete_contactnotes_PART_SRCS})
target_link_libraries(kopete_contactnotes KF5::KIOCore kopete )
-install(TARGETS kopete_contactnotes DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_contactnotes DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_contactnotes.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES contactnotesui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_contactnotes)
+install( FILES kopete_contactnotes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES contactnotesui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_contactnotes)
diff --git a/plugins/cryptography/CMakeLists.txt b/plugins/cryptography/CMakeLists.txt
index 9cc6e48..b32cb61 100644
--- a/plugins/cryptography/CMakeLists.txt
+++ b/plugins/cryptography/CMakeLists.txt
@@ -19,7 +19,7 @@ add_library(kopete_cryptography MODULE ${kopete_cryptography_PART_SRCS})
target_link_libraries(kopete_cryptography Qt5::Gui KF5::KDELibs4Support kopete ${KLEOPATRA_LIBRARIES} ${KDE4_KABC_LIBS} ${QGPGME_LIBRARIES} )
-install(TARGETS kopete_cryptography DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_cryptography DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -43,11 +43,11 @@ target_link_libraries(
Qt5::Gui
)
-install(TARGETS kcm_kopete_cryptography DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_cryptography DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_cryptography.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES cryptographyui.rc cryptographychatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_cryptography)
-install( FILES kopete_cryptography_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_cryptography.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES cryptographyui.rc cryptographychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_cryptography)
+install( FILES kopete_cryptography_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/highlight/CMakeLists.txt b/plugins/highlight/CMakeLists.txt
index a4a62ef..2602b9a 100644
--- a/plugins/highlight/CMakeLists.txt
+++ b/plugins/highlight/CMakeLists.txt
@@ -20,7 +20,7 @@ target_link_libraries(kopete_highlight
Qt5::Xml
)
-install(TARGETS kopete_highlight DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_highlight DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -42,13 +42,13 @@ target_link_libraries(kcm_kopete_highlight
Qt5::Xml
)
-install(TARGETS kcm_kopete_highlight DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_highlight DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_highlight.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_highlight_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_highlight.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_highlight_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/history/CMakeLists.txt b/plugins/history/CMakeLists.txt
index b8fc038..ce90b84 100644
--- a/plugins/history/CMakeLists.txt
+++ b/plugins/history/CMakeLists.txt
@@ -21,7 +21,7 @@ set_target_properties(kopete_history PROPERTIES AUTOMOC TRUE)
target_link_libraries(kopete_history Qt5::Widgets KF5::KHtml kopete )
-install(TARGETS kopete_history DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_history DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -37,15 +37,15 @@ set_target_properties(kcm_kopete_history PROPERTIES AUTOMOC TRUE)
target_link_libraries(kcm_kopete_history KF5::KCMUtils Qt5::Widgets kopete )
-install(TARGETS kcm_kopete_history DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_history DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES historyconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_history.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES historyui.rc historychatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_history)
-install( FILES kopete_history_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES historyconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_history.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES historyui.rc historychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_history)
+install( FILES kopete_history_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/history2/CMakeLists.txt b/plugins/history2/CMakeLists.txt
index 8b3b754..2856ab0 100644
--- a/plugins/history2/CMakeLists.txt
+++ b/plugins/history2/CMakeLists.txt
@@ -23,7 +23,7 @@ add_library(kopete_history2 MODULE ${kopete_history2_PART_SRCS})
target_link_libraries(kopete_history2 KF5::KHtml kopete Qt5::Sql)
-install(TARGETS kopete_history2 DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_history2 DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -40,15 +40,15 @@ add_library(kcm_kopete_history2 MODULE ${kcm_kopete_history2_PART_SRCS})
target_link_libraries(kcm_kopete_history2 KF5::KHtml kopete Qt5::Sql)
-install(TARGETS kcm_kopete_history2 DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_history2 DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES history2config.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_history2.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES history2ui.rc history2chatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_history2)
-install( FILES kopete_history2_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES history2config.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_history2.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES history2ui.rc history2chatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_history2)
+install( FILES kopete_history2_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/latex/CMakeLists.txt b/plugins/latex/CMakeLists.txt
index 896d5e2..44173f9 100644
--- a/plugins/latex/CMakeLists.txt
+++ b/plugins/latex/CMakeLists.txt
@@ -20,7 +20,7 @@ target_link_libraries(kopete_latex
KF5::KDELibs4Support
)
-install(TARGETS kopete_latex DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_latex DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -44,16 +44,16 @@ target_link_libraries(kcm_kopete_latex
Qt5::Gui
)
-install(TARGETS kcm_kopete_latex DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_latex DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES latexconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_latex.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES latexchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_latex)
-install( FILES kopete_latex_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
-install( PROGRAMS kopete_latexconvert.sh DESTINATION ${BIN_INSTALL_DIR})
+install( FILES latexconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_latex.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES latexchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_latex)
+install( FILES kopete_latex_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
+install( PROGRAMS kopete_latexconvert.sh DESTINATION ${KDE_INSTALL_BINDIR})
diff --git a/plugins/nowlistening/CMakeLists.txt b/plugins/nowlistening/CMakeLists.txt
index 4e555cb..b22d78a 100644
--- a/plugins/nowlistening/CMakeLists.txt
+++ b/plugins/nowlistening/CMakeLists.txt
@@ -36,7 +36,7 @@ if(XMMS_FOUND)
target_link_libraries( kopete_nowlistening ${XMMS_LDFLAGS} )
endif(XMMS_FOUND)
-install(TARGETS kopete_nowlistening DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_nowlistening DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -58,15 +58,15 @@ target_link_libraries(kcm_kopete_nowlistening
Qt5::Core
)
-install(TARGETS kcm_kopete_nowlistening DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_nowlistening DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES nowlisteningconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_nowlistening.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES nowlisteningui.rc nowlisteningchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete)
-install( FILES kopete_nowlistening_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES nowlisteningconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_nowlistening.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES nowlisteningui.rc nowlisteningchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
+install( FILES kopete_nowlistening_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/otr/CMakeLists.txt b/plugins/otr/CMakeLists.txt
index 393924e..a709389 100644
--- a/plugins/otr/CMakeLists.txt
+++ b/plugins/otr/CMakeLists.txt
@@ -12,7 +12,7 @@ add_library(kopete_otr MODULE ${kopete_otr_PART_SRCS})
target_link_libraries(kopete_otr kopete kopete_otr_shared ${LIBOTR_LIBRARY})
-install(TARGETS kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_otr DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -26,7 +26,7 @@ add_library(kcm_kopete_otr MODULE ${kcm_kopete_otr_PART_SRCS})
target_link_libraries(kcm_kopete_otr kopete kopete_otr_shared ${LIBOTR_LIBRARY})
-install(TARGETS kcm_kopete_otr DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_otr DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -43,11 +43,11 @@ add_library(kopete_otr_shared SHARED ${kopete_otr_shared_LIB_SRCS})
target_link_libraries(kopete_otr_shared kopete KF5::KIOCore ${LIBOTR_LIBRARY})
set_target_properties(kopete_otr_shared PROPERTIES VERSION 1.0.0 SOVERSION 1)
-install(TARGETS kopete_otr_shared ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopete_otr_shared ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
-install(FILES kopete_otr.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install(FILES kopete_otr.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install(FILES otrchatui.rc otrui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_otr)
-install(FILES kopete_otr_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install(FILES kopete_otr.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install(FILES kopete_otr.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install(FILES otrchatui.rc otrui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_otr)
+install(FILES kopete_otr_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/otr/icons/CMakeLists.txt b/plugins/otr/icons/CMakeLists.txt
index 832a8e5..195a9b0 100644
--- a/plugins/otr/icons/CMakeLists.txt
+++ b/plugins/otr/icons/CMakeLists.txt
@@ -1 +1 @@
-ecm_install_icons( ${ICON_INSTALL_DIR} )
+ecm_install_icons( ${KDE_INSTALL_ICONDIR} )
diff --git a/plugins/pipes/CMakeLists.txt b/plugins/pipes/CMakeLists.txt
index c9db859..1f35285 100644
--- a/plugins/pipes/CMakeLists.txt
+++ b/plugins/pipes/CMakeLists.txt
@@ -15,7 +15,7 @@ add_library(kopete_pipes MODULE ${kopete_pipes_PART_SRCS})
target_link_libraries( kopete_pipes KF5::KIOCore kopete )
-install( TARGETS kopete_pipes DESTINATION ${PLUGIN_INSTALL_DIR})
+install( TARGETS kopete_pipes DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -36,9 +36,9 @@ target_link_libraries( kcm_kopete_pipes
kopete
)
-install( TARGETS kcm_kopete_pipes DESTINATION ${PLUGIN_INSTALL_DIR} )
+install( TARGETS kcm_kopete_pipes DESTINATION ${KDE_INSTALL_PLUGINDIR} )
########### install files ###############
-install( FILES kopete_pipes.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES kopete_pipes_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog )
+install( FILES kopete_pipes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
+install( FILES kopete_pipes_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog )
diff --git a/plugins/privacy/CMakeLists.txt b/plugins/privacy/CMakeLists.txt
index 3ec6534..3eb3cb2 100644
--- a/plugins/privacy/CMakeLists.txt
+++ b/plugins/privacy/CMakeLists.txt
@@ -11,14 +11,14 @@ kconfig_add_kcfg_files(kopete_privacy_LIB_SRCS privacyconfig.kcfgc )
add_library( kopeteprivacy SHARED ${kopete_privacy_LIB_SRCS})
target_link_libraries( kopeteprivacy kopete )
set_target_properties( kopeteprivacy PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install( TARGETS kopeteprivacy ${INSTALL_TARGETS_DEFAULT_ARGS})
+install( TARGETS kopeteprivacy ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
set(kopete_privacy_PART_SRCS privacyplugin.cpp privacyguiclient.cpp)
add_library(kopete_privacy MODULE ${kopete_privacy_PART_SRCS})
target_link_libraries(kopete_privacy kopete kopeteprivacy )
-install(TARGETS kopete_privacy DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_privacy DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -27,11 +27,11 @@ set(kcm_kopete_privacy_PART_SRCS privacypreferences.cpp contactselectorwidget.cp
ki18n_wrap_ui(kcm_kopete_privacy_PART_SRCS privacydialog.ui contactselectorwidget_base.ui )
add_library(kcm_kopete_privacy MODULE ${kcm_kopete_privacy_PART_SRCS})
target_link_libraries(kcm_kopete_privacy kopete kopeteprivacy )
-install(TARGETS kcm_kopete_privacy DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_privacy DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES privacyui.rc privacychatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_privacy)
-install( FILES kopete_privacy.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_privacy_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES privacyui.rc privacychatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_privacy)
+install( FILES kopete_privacy.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_privacy_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/statistics/CMakeLists.txt b/plugins/statistics/CMakeLists.txt
index 65fa8da..369f8a1 100644
--- a/plugins/statistics/CMakeLists.txt
+++ b/plugins/statistics/CMakeLists.txt
@@ -19,10 +19,10 @@ add_library(kopete_statistics MODULE ${kopete_statistics_PART_SRCS})
target_link_libraries(kopete_statistics kopete Qt5::Sql KF5::KHtml )
-install(TARGETS kopete_statistics DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_statistics DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES org.kde.kopete.Statistics.xml DESTINATION ${DBUS_INTERFACES_INSTALL_DIR} )
-install( FILES kopete_statistics.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES statisticsui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_statistics)
+install( FILES org.kde.kopete.Statistics.xml DESTINATION ${KDE_INSTALL_DBUSINTERFACEDIR} )
+install( FILES kopete_statistics.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES statisticsui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_statistics)
diff --git a/plugins/texteffect/CMakeLists.txt b/plugins/texteffect/CMakeLists.txt
index 894ac6b..8986abe 100644
--- a/plugins/texteffect/CMakeLists.txt
+++ b/plugins/texteffect/CMakeLists.txt
@@ -15,7 +15,7 @@ add_library(kopete_texteffect MODULE ${kopete_texteffect_PART_SRCS})
target_link_libraries(kopete_texteffect kopete )
-install(TARGETS kopete_texteffect DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_texteffect DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -30,13 +30,13 @@ add_library(kcm_kopete_texteffect MODULE ${kcm_kopete_texteffect_PART_SRCS})
target_link_libraries(kcm_kopete_texteffect kopete )
-install(TARGETS kcm_kopete_texteffect DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_texteffect DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_texteffect.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_texteffect_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES kopete_texteffect.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_texteffect_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/translator/CMakeLists.txt b/plugins/translator/CMakeLists.txt
index bade9af..afc12ac 100644
--- a/plugins/translator/CMakeLists.txt
+++ b/plugins/translator/CMakeLists.txt
@@ -20,7 +20,7 @@ add_library(kopete_translator MODULE ${kopete_translator_PART_SRCS})
target_link_libraries(kopete_translator KF5::KIOCore kopete )
-install(TARGETS kopete_translator DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_translator DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -37,15 +37,15 @@ add_library(kcm_kopete_translator MODULE ${kcm_kopete_translator_PART_SRCS})
target_link_libraries(kcm_kopete_translator kopete )
-install(TARGETS kcm_kopete_translator DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_translator DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES translatorconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_translator.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES translatorui.rc translatorchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_translator)
-install( FILES kopete_translator_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES translatorconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_translator.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES translatorui.rc translatorchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_translator)
+install( FILES kopete_translator_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/plugins/urlpicpreview/CMakeLists.txt b/plugins/urlpicpreview/CMakeLists.txt
index 00b4a4d..e2f2838 100644
--- a/plugins/urlpicpreview/CMakeLists.txt
+++ b/plugins/urlpicpreview/CMakeLists.txt
@@ -24,7 +24,7 @@ target_link_libraries(kopete_urlpicpreview
kopete
)
-install(TARGETS kopete_urlpicpreview DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_urlpicpreview DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -44,14 +44,14 @@ target_link_libraries(kcm_kopete_urlpicpreview
kopete
)
-install(TARGETS kcm_kopete_urlpicpreview DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_urlpicpreview DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES urlpicpreview.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install( FILES kopete_urlpicpreview.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES kopete_urlpicpreview_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install( FILES urlpicpreview.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install( FILES kopete_urlpicpreview.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES kopete_urlpicpreview_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
file(GLOB icons_png "*.png")
file(GLOB icons_svg "*.svg")
set(all_icons ${icons_png} ${icons_svg})
diff --git a/plugins/webpresence/CMakeLists.txt b/plugins/webpresence/CMakeLists.txt
index 7d02f31..7fae3e7 100644
--- a/plugins/webpresence/CMakeLists.txt
+++ b/plugins/webpresence/CMakeLists.txt
@@ -10,7 +10,7 @@ add_library(kopete_webpresence MODULE ${kopete_webpresence_PART_SRCS})
target_link_libraries(kopete_webpresence KF5::KIOCore kopete ${LIBXML2_LIBRARIES} ${LIBXSLT_LIBRARIES} Qt5::Xml)
-install(TARGETS kopete_webpresence DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_webpresence DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### next target ###############
@@ -25,12 +25,12 @@ add_library(kcm_kopete_webpresence MODULE ${kcm_kopete_webpresence_PART_SRCS})
target_link_libraries(kcm_kopete_webpresence KF5::KIOCore kopete )
-install(TARGETS kcm_kopete_webpresence DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kcm_kopete_webpresence DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install(FILES webpresenceconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR})
-install(FILES kopete_webpresence.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install(FILES webpresence_html.xsl webpresence_html_images.xsl webpresence_xhtml.xsl webpresence_xhtml_images.xsl DESTINATION ${DATA_INSTALL_DIR}/kopete/webpresence)
-install(FILES kopete_webpresence_config.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog)
+install(FILES webpresenceconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
+install(FILES kopete_webpresence.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install(FILES webpresence_html.xsl webpresence_html_images.xsl webpresence_xhtml.xsl webpresence_xhtml_images.xsl DESTINATION ${KDE_INSTALL_DATADIR}/kopete/webpresence)
+install(FILES kopete_webpresence_config.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/kconfiguredialog)
diff --git a/protocols/bonjour/CMakeLists.txt b/protocols/bonjour/CMakeLists.txt
index c0fe2f3..ebe86af 100644
--- a/protocols/bonjour/CMakeLists.txt
+++ b/protocols/bonjour/CMakeLists.txt
@@ -31,9 +31,9 @@ if(NOT DISABLE_VIDEOSUPPORT)
target_link_libraries(kopete_bonjour kopete_videodevice)
endif(NOT DISABLE_VIDEOSUPPORT)
-install(TARGETS kopete_bonjour DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_bonjour DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_bonjour.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_bonjour.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/bonjour/icons/CMakeLists.txt b/protocols/bonjour/icons/CMakeLists.txt
index f182ddc..3e831ac 100644
--- a/protocols/bonjour/icons/CMakeLists.txt
+++ b/protocols/bonjour/icons/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-#ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
-ecm_install_icons(${ICON_INSTALL_DIR})
+#ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
+ecm_install_icons(${KDE_INSTALL_ICONDIR})
diff --git a/protocols/gadu/CMakeLists.txt b/protocols/gadu/CMakeLists.txt
index 3065090..4734b62 100644
--- a/protocols/gadu/CMakeLists.txt
+++ b/protocols/gadu/CMakeLists.txt
@@ -47,12 +47,12 @@ add_library(kopete_gadu MODULE ${kopete_gadu_PART_SRCS})
target_link_libraries(kopete_gadu KF5::KIOCore Qt5::Network ${KDE4_KDE3SUPPORT_LIBS} ${LIBGADU_LIBRARIES} kopete )
-install(TARGETS kopete_gadu DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_gadu DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_gadu.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_gadu.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/gadu/icons/CMakeLists.txt b/protocols/gadu/icons/CMakeLists.txt
index b4156ab..e276a42 100644
--- a/protocols/gadu/icons/CMakeLists.txt
+++ b/protocols/gadu/icons/CMakeLists.txt
@@ -1 +1 @@
-ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
+ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
diff --git a/protocols/groupwise/CMakeLists.txt b/protocols/groupwise/CMakeLists.txt
index 2e72798..c8ca28b 100644
--- a/protocols/groupwise/CMakeLists.txt
+++ b/protocols/groupwise/CMakeLists.txt
@@ -58,9 +58,9 @@ link_directories( ${CMAKE_CURRENT_BINARY_DIR}/libgroupwise )
target_link_libraries(kopete_groupwise KF5::KDELibs4Support qgroupwise kopete ${QCA2_LIBRARIES})
-install(TARGETS kopete_groupwise DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_groupwise DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_groupwise.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES gwchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_groupwise)
+install( FILES kopete_groupwise.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES gwchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_groupwise)
diff --git a/protocols/groupwise/libgroupwise/CMakeLists.txt b/protocols/groupwise/libgroupwise/CMakeLists.txt
index 271b49e..c36311f 100644
--- a/protocols/groupwise/libgroupwise/CMakeLists.txt
+++ b/protocols/groupwise/libgroupwise/CMakeLists.txt
@@ -86,7 +86,7 @@ target_link_libraries( qgroupwise Qt5::Core Qt5::Gui Qt5::Network qca-qt5 ${ZLIB
########### install files ###############
-install(TARGETS qgroupwise ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS qgroupwise ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/protocols/irc/CMakeLists.txt b/protocols/irc/CMakeLists.txt
index a96135f..a016919 100644
--- a/protocols/irc/CMakeLists.txt
+++ b/protocols/irc/CMakeLists.txt
@@ -44,13 +44,13 @@ add_library(kopete_irc MODULE ${kopete_irc_SRCS})
target_link_libraries(kopete_irc KF5::KIOCore ${QT_QT3SUPPORT_LIBRARY} kopete kirc_client kirc )
-install(TARGETS kopete_irc DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_irc DESTINATION ${KDE_INSTALL_PLUGINDIR})
############ Test Files #################
########### install files ###############
-install( FILES kopete_irc.desktop irc.protocol DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES ircchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_irc)
-install( FILES ircnetworks.xml DESTINATION ${DATA_INSTALL_DIR}/kopete)
+install( FILES kopete_irc.desktop irc.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES ircchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_irc)
+install( FILES ircnetworks.xml DESTINATION ${KDE_INSTALL_DATADIR}/kopete)
diff --git a/protocols/irc/icons/CMakeLists.txt b/protocols/irc/icons/CMakeLists.txt
index b4156ab..e276a42 100644
--- a/protocols/irc/icons/CMakeLists.txt
+++ b/protocols/irc/icons/CMakeLists.txt
@@ -1 +1 @@
-ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
+ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
diff --git a/protocols/irc/libkirc/CMakeLists.txt b/protocols/irc/libkirc/CMakeLists.txt
index 6597e21..9eb9417 100644
--- a/protocols/irc/libkirc/CMakeLists.txt
+++ b/protocols/irc/libkirc/CMakeLists.txt
@@ -26,7 +26,7 @@ add_library(kirc SHARED ${libkirc_SRCS})
target_link_libraries(kirc Qt5::Core Qt5::Network KF5::KDELibs4Support)
set_target_properties(kirc PROPERTIES VERSION 1.0.0 SOVERSION 1)
-install(TARGETS kirc ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kirc ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
set(libkirc_client_SRCS
client/kircclienthandler.cpp
@@ -45,7 +45,7 @@ add_library(kirc_client SHARED ${libkirc_client_SRCS})
target_link_libraries(kirc_client kirc KF5::KDELibs4Support Qt5::Core Qt5::Network)
set_target_properties(kirc_client PROPERTIES VERSION 1.0.0 SOVERSION 1)
-install(TARGETS kirc_client ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kirc_client ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
# add_subdirectory( plugins )
diff --git a/protocols/irc/libkirc/client/CMakeLists.txt b/protocols/irc/libkirc/client/CMakeLists.txt
index 523e088..41ee56e 100644
--- a/protocols/irc/libkirc/client/CMakeLists.txt
+++ b/protocols/irc/libkirc/client/CMakeLists.txt
@@ -23,5 +23,5 @@ add_library(kirc_client SHARED ${libkirc_client_SRCS})
target_link_libraries(kirc_client kirc KF5::KDELibs4Support Qt5::Core Qt5::Network)
set_target_properties(kirc_client PROPERTIES VERSION 1.0.0 SOVERSION 1)
-install(TARGETS kirc_client ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kirc_client ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/protocols/jabber/CMakeLists.txt b/protocols/jabber/CMakeLists.txt
index fcd47f2..4cb0350 100644
--- a/protocols/jabber/CMakeLists.txt
+++ b/protocols/jabber/CMakeLists.txt
@@ -169,10 +169,10 @@ if(BUILD_JINGLE)
target_link_libraries(kopete_jabber ${LIBORTP_LIBRARY} ${ASOUND_LIBRARY} ${SPEEX_LIBRARY})
endif(BUILD_JINGLE)
-install(TARGETS kopete_jabber DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_jabber DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_jabber.desktop xmpp.protocol DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES jabberchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_jabber)
+install( FILES kopete_jabber.desktop xmpp.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES jabberchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_jabber)
diff --git a/protocols/jabber/kioslave/CMakeLists.txt b/protocols/jabber/kioslave/CMakeLists.txt
index cea1cd5..6216887 100644
--- a/protocols/jabber/kioslave/CMakeLists.txt
+++ b/protocols/jabber/kioslave/CMakeLists.txt
@@ -11,12 +11,12 @@ add_library(kio_jabberdisco MODULE ${kio_jabberdisco_PART_SRCS})
target_link_libraries(kio_jabberdisco KF5::KIOCore jabberclient iris_local )
-install(TARGETS kio_jabberdisco DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kio_jabberdisco DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES jabberdisco.protocol DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES jabberdisco.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/jabber/libiris/src/jdns/CMakeLists.txt b/protocols/jabber/libiris/src/jdns/CMakeLists.txt
index 43b9991..280f593 100644
--- a/protocols/jabber/libiris/src/jdns/CMakeLists.txt
+++ b/protocols/jabber/libiris/src/jdns/CMakeLists.txt
@@ -82,15 +82,15 @@ set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Dir
set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "The directory the headers are installed in")
if(NOT MSVC)
- set(JDNS_CONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/jdns")
- set(QJDNS_CONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/cmake/qjdns")
+ set(JDNS_CONFIG_INSTALL_DIR "${KDE_INSTALL_LIBDIR}/cmake/jdns")
+ set(QJDNS_CONFIG_INSTALL_DIR "${KDE_INSTALL_LIBDIR}/cmake/qjdns")
else(NOT MSVC)
set(JDNS_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/cmake/")
set(QJDNS_CONFIG_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/cmake/")
endif(NOT MSVC)
if(APPLE)
- set(CMAKE_INSTALL_NAME_DIR ${LIB_INSTALL_DIR})
+ set(CMAKE_INSTALL_NAME_DIR ${KDE_INSTALL_LIBDIR})
endif(APPLE)
set(JDNS_LIB_MAJOR_VERSION "2")
@@ -111,13 +111,13 @@ if(NOT WIN32)
${CMAKE_CURRENT_BINARY_DIR}/jdns.pc
@ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/jdns.pc
- DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+ DESTINATION ${KDE_INSTALL_LIBDIR}/pkgconfig)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/qjdns.pc.in
${CMAKE_CURRENT_BINARY_DIR}/qjdns.pc
@ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qjdns.pc
- DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
+ DESTINATION ${KDE_INSTALL_LIBDIR}/pkgconfig)
endif(NOT WIN32)
include_directories("include/jdns/")
@@ -138,8 +138,8 @@ configure_file(
# runtime different from the chosen CMAKE_INSTALL_PREFIX if under Windows the package was installed anywhere)
# This relative path will be configured into the QJDNSConfig.cmake
file(RELATIVE_PATH relInstallDir ${JDNS_CONFIG_INSTALL_DIR} ${CMAKE_INSTALL_PREFIX})
-file(RELATIVE_PATH JDNS_INCLUDEDIR_REL ${CMAKE_INSTALL_PREFIX} "${INCLUDE_INSTALL_DIR}/jdns")
-file(RELATIVE_PATH LIB_INSTALL_DIR_REL ${CMAKE_INSTALL_PREFIX} ${LIB_INSTALL_DIR})
+file(RELATIVE_PATH JDNS_INCLUDEDIR_REL ${CMAKE_INSTALL_PREFIX} "${KDE_INSTALL_INCLUDEDIR}/jdns")
+file(RELATIVE_PATH LIB_INSTALL_DIR_REL ${CMAKE_INSTALL_PREFIX} ${KDE_INSTALL_LIBDIR})
# cmake-modules
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/JDnsConfig.cmake.in
diff --git a/protocols/jabber/libiris/src/jdns/src/jdns/CMakeLists.txt b/protocols/jabber/libiris/src/jdns/src/jdns/CMakeLists.txt
index 4a6ae8a..033db8a 100644
--- a/protocols/jabber/libiris/src/jdns/src/jdns/CMakeLists.txt
+++ b/protocols/jabber/libiris/src/jdns/src/jdns/CMakeLists.txt
@@ -37,19 +37,19 @@ set_target_properties(jdns PROPERTIES
)
install(TARGETS jdns EXPORT jdns-export
- LIBRARY DESTINATION ${LIB_INSTALL_DIR}
- RUNTIME DESTINATION ${BIN_INSTALL_DIR}
- ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+ LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${KDE_INSTALL_BINDIR}
+ ARCHIVE DESTINATION ${KDE_INSTALL_LIBDIR}
# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
- PUBLIC_HEADER DESTINATION "${INCLUDE_INSTALL_DIR}/jdns"
+ PUBLIC_HEADER DESTINATION "${KDE_INSTALL_INCLUDEDIR}/jdns"
)
if(MSVC)
get_target_property(LOCATION jdns LOCATION_DEBUG)
string(REGEX REPLACE "\\.[^.]*$" ".pdb" LOCATION "${LOCATION}")
- install(FILES ${LOCATION} DESTINATION ${LIB_INSTALL_DIR} CONFIGURATIONS Debug)
+ install(FILES ${LOCATION} DESTINATION ${KDE_INSTALL_LIBDIR} CONFIGURATIONS Debug)
get_target_property(LOCATION jdns LOCATION_RELWITHDEBINFO)
string(REGEX REPLACE "\\.[^.]*$" ".pdb" LOCATION "${LOCATION}")
- install(FILES ${LOCATION} DESTINATION ${LIB_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+ install(FILES ${LOCATION} DESTINATION ${KDE_INSTALL_LIBDIR} CONFIGURATIONS RelWithDebInfo)
endif(MSVC)
diff --git a/protocols/jabber/libiris/src/jdns/src/qjdns/CMakeLists.txt b/protocols/jabber/libiris/src/jdns/src/qjdns/CMakeLists.txt
index b1454aa..658feda 100644
--- a/protocols/jabber/libiris/src/jdns/src/qjdns/CMakeLists.txt
+++ b/protocols/jabber/libiris/src/jdns/src/qjdns/CMakeLists.txt
@@ -45,11 +45,11 @@ set_target_properties(qjdns PROPERTIES
)
install(TARGETS qjdns EXPORT qjdns-export
- LIBRARY DESTINATION ${LIB_INSTALL_DIR}
- RUNTIME DESTINATION ${BIN_INSTALL_DIR}
- ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+ LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${KDE_INSTALL_BINDIR}
+ ARCHIVE DESTINATION ${KDE_INSTALL_LIBDIR}
# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
- PUBLIC_HEADER DESTINATION "${INCLUDE_INSTALL_DIR}/jdns"
+ PUBLIC_HEADER DESTINATION "${KDE_INSTALL_INCLUDEDIR}/jdns"
)
if(MSVC)
diff --git a/protocols/jabber/libiris/src/jdns/tools/jdns/CMakeLists.txt b/protocols/jabber/libiris/src/jdns/tools/jdns/CMakeLists.txt
index 8ba0bb9..895855e 100644
--- a/protocols/jabber/libiris/src/jdns/tools/jdns/CMakeLists.txt
+++ b/protocols/jabber/libiris/src/jdns/tools/jdns/CMakeLists.txt
@@ -19,18 +19,18 @@ set_target_properties(jdns-tool PROPERTIES
)
install(TARGETS jdns-tool
- LIBRARY DESTINATION ${LIB_INSTALL_DIR}
- RUNTIME DESTINATION ${BIN_INSTALL_DIR}
- ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+ LIBRARY DESTINATION ${KDE_INSTALL_LIBDIR}
+ RUNTIME DESTINATION ${KDE_INSTALL_BINDIR}
+ ARCHIVE DESTINATION ${KDE_INSTALL_LIBDIR}
# FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
)
if(MSVC)
get_target_property(LOCATION jdns-tool LOCATION_DEBUG)
string(REGEX REPLACE "\\.[^.]*$" ".pdb" LOCATION "${LOCATION}")
- install(FILES ${LOCATION} DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS Debug)
+ install(FILES ${LOCATION} DESTINATION ${KDE_INSTALL_BINDIR} CONFIGURATIONS Debug)
get_target_property(LOCATION jdns-tool LOCATION_RELWITHDEBINFO)
string(REGEX REPLACE "\\.[^.]*$" ".pdb" LOCATION "${LOCATION}")
- install(FILES ${LOCATION} DESTINATION ${BIN_INSTALL_DIR} CONFIGURATIONS RelWithDebInfo)
+ install(FILES ${LOCATION} DESTINATION ${KDE_INSTALL_BINDIR} CONFIGURATIONS RelWithDebInfo)
endif(MSVC)
diff --git a/protocols/meanwhile/CMakeLists.txt b/protocols/meanwhile/CMakeLists.txt
index 13358a9..64681e2 100644
--- a/protocols/meanwhile/CMakeLists.txt
+++ b/protocols/meanwhile/CMakeLists.txt
@@ -27,11 +27,11 @@ target_link_libraries(kopete_meanwhile
Qt5::Network
kopete)
-install(TARGETS kopete_meanwhile DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_meanwhile DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install(FILES kopete_meanwhile.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(FILES kopete_meanwhile.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/meanwhile/icons/CMakeLists.txt b/protocols/meanwhile/icons/CMakeLists.txt
index b4156ab..e276a42 100644
--- a/protocols/meanwhile/icons/CMakeLists.txt
+++ b/protocols/meanwhile/icons/CMakeLists.txt
@@ -1 +1 @@
-ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
+ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
diff --git a/protocols/oscar/CMakeLists.txt b/protocols/oscar/CMakeLists.txt
index 4d33cb1..18cfe56 100644
--- a/protocols/oscar/CMakeLists.txt
+++ b/protocols/oscar/CMakeLists.txt
@@ -40,7 +40,7 @@ add_library(kopete_oscar SHARED ${kopete_oscar_LIB_SRCS})
target_link_libraries(kopete_oscar KF5::KIOCore kopete oscar)
set_target_properties(kopete_oscar PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
-install(TARGETS kopete_oscar ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kopete_oscar ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/protocols/oscar/aim/CMakeLists.txt b/protocols/oscar/aim/CMakeLists.txt
index ee99dcc..2a51346 100644
--- a/protocols/oscar/aim/CMakeLists.txt
+++ b/protocols/oscar/aim/CMakeLists.txt
@@ -45,12 +45,12 @@ target_link_libraries(kopete_aim
Qt5::Xml
)
-install(TARGETS kopete_aim DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_aim DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_aim.desktop aim.protocol DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_aim.desktop aim.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/oscar/icq/CMakeLists.txt b/protocols/oscar/icq/CMakeLists.txt
index 00b0dd3..8fa7a37 100644
--- a/protocols/oscar/icq/CMakeLists.txt
+++ b/protocols/oscar/icq/CMakeLists.txt
@@ -68,12 +68,12 @@ target_link_libraries(kopete_icq
Qt5::Network
)
-install(TARGETS kopete_icq DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_icq DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_icq.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_icq.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/oscar/liboscar/CMakeLists.txt b/protocols/oscar/liboscar/CMakeLists.txt
index 853a9d7..4433199 100644
--- a/protocols/oscar/liboscar/CMakeLists.txt
+++ b/protocols/oscar/liboscar/CMakeLists.txt
@@ -95,7 +95,7 @@ target_link_libraries( oscar KF5::KDELibs4Support Qt5::Gui Qt5::Network Qt5::Xml
set_target_properties( oscar PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS oscar ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS oscar ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/protocols/qq/CMakeLists.txt b/protocols/qq/CMakeLists.txt
index 55fd681..79d931c 100644
--- a/protocols/qq/CMakeLists.txt
+++ b/protocols/qq/CMakeLists.txt
@@ -44,10 +44,10 @@ if(NOT DISABLE_VIDEOSUPPORT)
target_link_libraries(kopete_qq kopete_videodevice)
endif(NOT DISABLE_VIDEOSUPPORT)
-install(TARGETS kopete_qq DESTINATION ${PLUGIN_INSTALL_DIR} )
+install(TARGETS kopete_qq DESTINATION ${KDE_INSTALL_PLUGINDIR} )
########### install files ###############
-install(FILES kopete_qq.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install(FILES kopete_qq.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
diff --git a/protocols/skype/CMakeLists.txt b/protocols/skype/CMakeLists.txt
index 83aec90..78c349e 100644
--- a/protocols/skype/CMakeLists.txt
+++ b/protocols/skype/CMakeLists.txt
@@ -85,9 +85,9 @@ ecm_optional_add_subdirectory( skypebuttons )
########### install files ###############
-install( TARGETS kopete_skype DESTINATION ${PLUGIN_INSTALL_DIR} )
-install( FILES kopete_skype.desktop skype.protocol callto.protocol tel.protocol DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES skypeui.rc skypechatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_skype )
+install( TARGETS kopete_skype DESTINATION ${KDE_INSTALL_PLUGINDIR} )
+install( FILES kopete_skype.desktop skype.protocol callto.protocol tel.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
+install( FILES skypeui.rc skypechatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_skype )
#Enable this for system bus dbus type communication with skype public api
#Linux skype client (version 2.0.0.72) still does not support it, so we do not need it now maybe in new skype version
diff --git a/protocols/skype/icons/CMakeLists.txt b/protocols/skype/icons/CMakeLists.txt
index c1a5544..e1dd776 100644
--- a/protocols/skype/icons/CMakeLists.txt
+++ b/protocols/skype/icons/CMakeLists.txt
@@ -1,5 +1,5 @@
########### next target ###############
-ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
+ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
########### install files ###############
diff --git a/protocols/sms/CMakeLists.txt b/protocols/sms/CMakeLists.txt
index 37524dc..34e9f67 100644
--- a/protocols/sms/CMakeLists.txt
+++ b/protocols/sms/CMakeLists.txt
@@ -32,5 +32,5 @@ add_library(kopete_sms MODULE ${kopete_sms_PART_SRCS})
target_link_libraries(kopete_sms KF5::KIOCore ${KDE4_KDE3SUPPORT_LIBS} kopete )
-install(TARGETS kopete_sms DESTINATION ${PLUGIN_INSTALL_DIR})
-install( FILES kopete_sms.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(TARGETS kopete_sms DESTINATION ${KDE_INSTALL_PLUGINDIR})
+install( FILES kopete_sms.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/sms/icons/CMakeLists.txt b/protocols/sms/icons/CMakeLists.txt
index 3fc6a17..de06e2c 100644
--- a/protocols/sms/icons/CMakeLists.txt
+++ b/protocols/sms/icons/CMakeLists.txt
@@ -1,2 +1,2 @@
-ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
+ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
diff --git a/protocols/sms/services/CMakeLists.txt b/protocols/sms/services/CMakeLists.txt
index 0939f55..81599b2 100644
--- a/protocols/sms/services/CMakeLists.txt
+++ b/protocols/sms/services/CMakeLists.txt
@@ -15,7 +15,7 @@ set( kopete_sms_services_SRCS
########### install files ###############
-install(TARGETS kopetesmsservices DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopetesmsservices DESTINATION ${KDE_INSTALL_PLUGINDIR})
diff --git a/protocols/sms/ui/CMakeLists.txt b/protocols/sms/ui/CMakeLists.txt
index 5930fa1..f3eb010 100644
--- a/protocols/sms/ui/CMakeLists.txt
+++ b/protocols/sms/ui/CMakeLists.txt
@@ -11,7 +11,7 @@ add_library( kopetesmsui SHARED ${uiSrcs} )
target_link_libraries(kopetesmsui KF5::KIOCore )
########### install files ###############
-install(TARGETS kopetesmsui DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopetesmsui DESTINATION ${KDE_INSTALL_PLUGINDIR})
diff --git a/protocols/testbed/CMakeLists.txt b/protocols/testbed/CMakeLists.txt
index b8d9974..81030f6 100644
--- a/protocols/testbed/CMakeLists.txt
+++ b/protocols/testbed/CMakeLists.txt
@@ -35,9 +35,9 @@ if(NOT DISABLE_VIDEOSUPPORT)
target_link_libraries(kopete_testbed kopete_videodevice)
endif(NOT DISABLE_VIDEOSUPPORT)
-install(TARGETS kopete_testbed DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_testbed DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_testbed.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install( FILES kopete_testbed.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
diff --git a/protocols/testbed/icons/CMakeLists.txt b/protocols/testbed/icons/CMakeLists.txt
index 3d06168..a85dd15 100644
--- a/protocols/testbed/icons/CMakeLists.txt
+++ b/protocols/testbed/icons/CMakeLists.txt
@@ -4,8 +4,8 @@
########### install files ###############
-#ecm_install_icons( ${DATA_INSTALL_DIR}/kopete/icons )
-ecm_install_icons(${ICON_INSTALL_DIR})
+#ecm_install_icons( ${KDE_INSTALL_DATADIR}/kopete/icons )
+ecm_install_icons(${KDE_INSTALL_ICONDIR})
diff --git a/protocols/winpopup/CMakeLists.txt b/protocols/winpopup/CMakeLists.txt
index e5cb9c9..19984aa 100644
--- a/protocols/winpopup/CMakeLists.txt
+++ b/protocols/winpopup/CMakeLists.txt
@@ -38,13 +38,13 @@ add_library(kopete_wp MODULE ${kopete_wp_PART_SRCS})
target_link_libraries(kopete_wp KF5::KIOCore kopete )
-install(TARGETS kopete_wp DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_wp DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_wp.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install(PROGRAMS winpopup-send winpopup-install DESTINATION ${BIN_INSTALL_DIR})
+install( FILES kopete_wp.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install(PROGRAMS winpopup-send winpopup-install DESTINATION ${KDE_INSTALL_BINDIR})
diff --git a/protocols/wlm/CMakeLists.txt b/protocols/wlm/CMakeLists.txt
index 226dadb..374ad6c 100644
--- a/protocols/wlm/CMakeLists.txt
+++ b/protocols/wlm/CMakeLists.txt
@@ -83,7 +83,7 @@ endif(GIF_FOUND)
include_directories(${kopete_wlm_include_DIRS})
target_link_libraries(kopete_wlm ${kopete_wlm_link_LIBS})
-install(TARGETS kopete_wlm DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_wlm DESTINATION ${KDE_INSTALL_PLUGINDIR})
-install(FILES kopete_wlm.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install(FILES wlmchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_wlm)
+install(FILES kopete_wlm.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install(FILES wlmchatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_wlm)
diff --git a/protocols/wlm/icons/CMakeLists.txt b/protocols/wlm/icons/CMakeLists.txt
index 742229f..abd6009 100644
--- a/protocols/wlm/icons/CMakeLists.txt
+++ b/protocols/wlm/icons/CMakeLists.txt
@@ -1 +1 @@
-ecm_install_icons(${DATA_INSTALL_DIR}/kopete/icons)
+ecm_install_icons(${KDE_INSTALL_DATADIR}/kopete/icons)
diff --git a/protocols/yahoo/CMakeLists.txt b/protocols/yahoo/CMakeLists.txt
index 8d7f30e..0507f58 100644
--- a/protocols/yahoo/CMakeLists.txt
+++ b/protocols/yahoo/CMakeLists.txt
@@ -54,13 +54,13 @@ if(NOT DISABLE_VIDEOSUPPORT)
target_link_libraries(kopete_yahoo kopete_videodevice)
endif(NOT DISABLE_VIDEOSUPPORT)
-install(TARGETS kopete_yahoo DESTINATION ${PLUGIN_INSTALL_DIR})
+install(TARGETS kopete_yahoo DESTINATION ${KDE_INSTALL_PLUGINDIR})
########### install files ###############
-install( FILES kopete_yahoo.desktop DESTINATION ${SERVICES_INSTALL_DIR})
-install( FILES yahooconferenceui.rc yahooimui.rc yahoochatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_yahoo)
+install( FILES kopete_yahoo.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+install( FILES yahooconferenceui.rc yahooimui.rc yahoochatui.rc DESTINATION ${KDE_INSTALL_DATADIR}/kopete_yahoo)
diff --git a/protocols/yahoo/libkyahoo/CMakeLists.txt b/protocols/yahoo/libkyahoo/CMakeLists.txt
index 1fb0d0a..f624c3f 100644
--- a/protocols/yahoo/libkyahoo/CMakeLists.txt
+++ b/protocols/yahoo/libkyahoo/CMakeLists.txt
@@ -80,7 +80,7 @@ target_link_libraries( kyahoo KF5::KDELibs4Support KF5::KIOCore Qt5::Xml Qt5::Ne
set_target_properties( kyahoo PROPERTIES VERSION 1.0.0 SOVERSION 1 )
-install(TARGETS kyahoo ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kyahoo ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
diff --git a/sounds/CMakeLists.txt b/sounds/CMakeLists.txt
index b5cddb7..e52ad48 100644
--- a/sounds/CMakeLists.txt
+++ b/sounds/CMakeLists.txt
@@ -1,3 +1,3 @@
-install( FILES Kopete_Event.ogg Kopete_Received.ogg Kopete_Sent.ogg Kopete_User_is_Online.ogg DESTINATION ${SOUND_INSTALL_DIR})
+install( FILES Kopete_Event.ogg Kopete_Received.ogg Kopete_Sent.ogg Kopete_User_is_Online.ogg DESTINATION ${KDE_INSTALL_SOUNDDIR})
diff --git a/styles/Clean/Contents/Resources/CMakeLists.txt b/styles/Clean/Contents/Resources/CMakeLists.txt
index 4af510c..bceb1cb 100644
--- a/styles/Clean/Contents/Resources/CMakeLists.txt
+++ b/styles/Clean/Contents/Resources/CMakeLists.txt
@@ -5,5 +5,5 @@ add_subdirectory( Outgoing )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clean/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clean/Contents/Resources)
diff --git a/styles/Clean/Contents/Resources/Incoming/CMakeLists.txt b/styles/Clean/Contents/Resources/Incoming/CMakeLists.txt
index 56b188d..4b65e4d 100644
--- a/styles/Clean/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Clean/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clean/Contents/Resources/Incoming)
+install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clean/Contents/Resources/Incoming)
diff --git a/styles/Clean/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Clean/Contents/Resources/Outgoing/CMakeLists.txt
index 9287566..6dc5cbf 100644
--- a/styles/Clean/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Clean/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clean/Contents/Resources/Outgoing)
+install( FILES buddy_icon.png Content.html NextContent.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clean/Contents/Resources/Outgoing)
diff --git a/styles/Clean/Contents/Resources/images/CMakeLists.txt b/styles/Clean/Contents/Resources/images/CMakeLists.txt
index 68a85e2..c536600 100644
--- a/styles/Clean/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Clean/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES action.png important.png internal.png state-sending.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clean/Contents/Resources/images)
+install( FILES action.png important.png internal.png state-sending.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clean/Contents/Resources/images)
diff --git a/styles/Clear/Contents/Resources/CMakeLists.txt b/styles/Clear/Contents/Resources/CMakeLists.txt
index a7e1a2d..9761042 100644
--- a/styles/Clear/Contents/Resources/CMakeLists.txt
+++ b/styles/Clear/Contents/Resources/CMakeLists.txt
@@ -6,5 +6,5 @@ add_subdirectory( Variants )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clear/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clear/Contents/Resources)
diff --git a/styles/Clear/Contents/Resources/Incoming/CMakeLists.txt b/styles/Clear/Contents/Resources/Incoming/CMakeLists.txt
index e9800d9..545ac63 100644
--- a/styles/Clear/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Clear/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html Action.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clear/Contents/Resources/Incoming)
+install( FILES buddy_icon.png Content.html NextContent.html Action.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clear/Contents/Resources/Incoming)
diff --git a/styles/Clear/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Clear/Contents/Resources/Outgoing/CMakeLists.txt
index 93c26e8..1911884 100644
--- a/styles/Clear/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Clear/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clear/Contents/Resources/Outgoing)
+install( FILES buddy_icon.png Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clear/Contents/Resources/Outgoing)
diff --git a/styles/Clear/Contents/Resources/Variants/CMakeLists.txt b/styles/Clear/Contents/Resources/Variants/CMakeLists.txt
index c924904..29e58e7 100644
--- a/styles/Clear/Contents/Resources/Variants/CMakeLists.txt
+++ b/styles/Clear/Contents/Resources/Variants/CMakeLists.txt
@@ -1 +1 @@
-install( FILES No_avatars.css DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clear/Contents/Resources/Variants)
+install( FILES No_avatars.css DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clear/Contents/Resources/Variants)
diff --git a/styles/Clear/Contents/Resources/images/CMakeLists.txt b/styles/Clear/Contents/Resources/images/CMakeLists.txt
index d9bbf80..bbe0d1b 100644
--- a/styles/Clear/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Clear/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES body-background.png footer-outbound-right.png body-inbound-arrow.png header-inbound-background.png body-inbound-avatar.png header-inbound-left.png body-inbound-background.png header-inbound-right.png body-inbound-left.png header-outbound-background.png body-inbound-right.png header-outbound-left.png body-outbound-arrow.png header-outbound-right.png body-outbound-avatar.png icon-action.png body-outbound-left.png icon-highlighted.png body-outbound-right.png icon-internal.png footer-inbound-background.png icon-me.png footer-inbound-left.png icon-time.png footer-inbound-right.png icon-you.png footer-outbound-background.png footer-outbound-left.png state-sending.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Clear/Contents/Resources/images)
+install( FILES body-background.png footer-outbound-right.png body-inbound-arrow.png header-inbound-background.png body-inbound-avatar.png header-inbound-left.png body-inbound-background.png header-inbound-right.png body-inbound-left.png header-outbound-background.png body-inbound-right.png header-outbound-left.png body-outbound-arrow.png header-outbound-right.png body-outbound-avatar.png icon-action.png body-outbound-left.png icon-highlighted.png body-outbound-right.png icon-internal.png footer-inbound-background.png icon-me.png footer-inbound-left.png icon-time.png footer-inbound-right.png icon-you.png footer-outbound-background.png footer-outbound-left.png state-sending.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Clear/Contents/Resources/images)
diff --git a/styles/Hacker/CMakeLists.txt b/styles/Hacker/CMakeLists.txt
index 1c946f0..65c7fb6 100644
--- a/styles/Hacker/CMakeLists.txt
+++ b/styles/Hacker/CMakeLists.txt
@@ -3,5 +3,5 @@ add_subdirectory( Contents )
########### install files ###############
-install( FILES COPYRIGHT README gpl.txt DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker)
+install( FILES COPYRIGHT README gpl.txt DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker)
diff --git a/styles/Hacker/Contents/CMakeLists.txt b/styles/Hacker/Contents/CMakeLists.txt
index a7a85ac..ff08b52 100644
--- a/styles/Hacker/Contents/CMakeLists.txt
+++ b/styles/Hacker/Contents/CMakeLists.txt
@@ -3,5 +3,5 @@ add_subdirectory( Resources )
########### install files ###############
-install( FILES Info.plist DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents)
+install( FILES Info.plist DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents)
diff --git a/styles/Hacker/Contents/Resources/CMakeLists.txt b/styles/Hacker/Contents/Resources/CMakeLists.txt
index d1d5824..92d168a 100644
--- a/styles/Hacker/Contents/Resources/CMakeLists.txt
+++ b/styles/Hacker/Contents/Resources/CMakeLists.txt
@@ -6,5 +6,5 @@ add_subdirectory( Variants )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents/Resources)
diff --git a/styles/Hacker/Contents/Resources/Incoming/CMakeLists.txt b/styles/Hacker/Contents/Resources/Incoming/CMakeLists.txt
index 1e8a4f1..a953cf9 100644
--- a/styles/Hacker/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Hacker/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES Content.html Context.html NextContent.html NextContext.html buddy_icon.png Action.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents/Resources/Incoming)
+install( FILES Content.html Context.html NextContent.html NextContext.html buddy_icon.png Action.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents/Resources/Incoming)
diff --git a/styles/Hacker/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Hacker/Contents/Resources/Outgoing/CMakeLists.txt
index ebe66a3..b137040 100644
--- a/styles/Hacker/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Hacker/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES Content.html NextContent.html Context.html NextContext.html buddy_icon.png Action.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents/Resources/Outgoing)
+install( FILES Content.html NextContent.html Context.html NextContext.html buddy_icon.png Action.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents/Resources/Outgoing)
diff --git a/styles/Hacker/Contents/Resources/Variants/CMakeLists.txt b/styles/Hacker/Contents/Resources/Variants/CMakeLists.txt
index 42459c6..19bba6e 100644
--- a/styles/Hacker/Contents/Resources/Variants/CMakeLists.txt
+++ b/styles/Hacker/Contents/Resources/Variants/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-install( FILES Dark2.css Dark.css Light2.css Light.css Dark2-Noback.css Dark-Noback.css Light2-Noback.css Light-Noback.css DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents/Resources/Variants)
+install( FILES Dark2.css Dark.css Light2.css Light.css Dark2-Noback.css Dark-Noback.css Light2-Noback.css Light-Noback.css DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents/Resources/Variants)
diff --git a/styles/Hacker/Contents/Resources/images/CMakeLists.txt b/styles/Hacker/Contents/Resources/images/CMakeLists.txt
index a9bc6cc..25fd86b 100644
--- a/styles/Hacker/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Hacker/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES background.png background2.png kopete.png state-sending.gif state-sending-white.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Hacker/Contents/Resources/images)
+install( FILES background.png background2.png kopete.png state-sending.gif state-sending-white.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Hacker/Contents/Resources/images)
diff --git a/styles/Konqi/Contents/Resources/CMakeLists.txt b/styles/Konqi/Contents/Resources/CMakeLists.txt
index 6f6b4d0..ff6eccf 100644
--- a/styles/Konqi/Contents/Resources/CMakeLists.txt
+++ b/styles/Konqi/Contents/Resources/CMakeLists.txt
@@ -5,5 +5,5 @@ add_subdirectory( Variants )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html puce.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Konqi/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html puce.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Konqi/Contents/Resources)
diff --git a/styles/Konqi/Contents/Resources/Incoming/CMakeLists.txt b/styles/Konqi/Contents/Resources/Incoming/CMakeLists.txt
index 5c87b78..84caed9 100644
--- a/styles/Konqi/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Konqi/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Konqi/Contents/Resources/Incoming)
+install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Konqi/Contents/Resources/Incoming)
diff --git a/styles/Konqi/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Konqi/Contents/Resources/Outgoing/CMakeLists.txt
index b692cf4..4e4c808 100644
--- a/styles/Konqi/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Konqi/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Konqi/Contents/Resources/Outgoing)
+install( FILES buddy_icon.png Content.html NextContent.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Konqi/Contents/Resources/Outgoing)
diff --git a/styles/Konqi/Contents/Resources/Variants/CMakeLists.txt b/styles/Konqi/Contents/Resources/Variants/CMakeLists.txt
index 0f70de6..35b439e 100644
--- a/styles/Konqi/Contents/Resources/Variants/CMakeLists.txt
+++ b/styles/Konqi/Contents/Resources/Variants/CMakeLists.txt
@@ -3,5 +3,5 @@ add_subdirectory( konqui )
########### install files ###############
-install( FILES Side_blue_moon.css Side_blue_without_transparency.css Side_green_without_trans.css Side_blue.css Side_blue_moon_without_transparency.css Side_green.css Side_green_without_transparency.css DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Konqi/Contents/Resources/Variants)
+install( FILES Side_blue_moon.css Side_blue_without_transparency.css Side_green_without_trans.css Side_blue.css Side_blue_moon_without_transparency.css Side_green.css Side_green_without_transparency.css DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Konqi/Contents/Resources/Variants)
diff --git a/styles/Konqi/Contents/Resources/Variants/konqui/CMakeLists.txt b/styles/Konqi/Contents/Resources/Variants/konqui/CMakeLists.txt
index 5111340..59c7c70 100644
--- a/styles/Konqi/Contents/Resources/Variants/konqui/CMakeLists.txt
+++ b/styles/Konqi/Contents/Resources/Variants/konqui/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES cadre1.png cadre2.png cadre3.png cadre4.png cadre5.png cadre6.png konqui-blue.png konqui-green.png konqui-moon.jpg DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Konqi/Contents/Resources/Variants/konqui)
+install( FILES cadre1.png cadre2.png cadre3.png cadre4.png cadre5.png cadre6.png konqui-blue.png konqui-green.png konqui-moon.jpg DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Konqi/Contents/Resources/Variants/konqui)
diff --git a/styles/Kopete/Contents/Resources/CMakeLists.txt b/styles/Kopete/Contents/Resources/CMakeLists.txt
index ffe3a5c..b62b8b3 100644
--- a/styles/Kopete/Contents/Resources/CMakeLists.txt
+++ b/styles/Kopete/Contents/Resources/CMakeLists.txt
@@ -6,5 +6,5 @@ add_subdirectory( Variants )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Kopete/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Kopete/Contents/Resources)
diff --git a/styles/Kopete/Contents/Resources/Incoming/CMakeLists.txt b/styles/Kopete/Contents/Resources/Incoming/CMakeLists.txt
index a7a548f..b221f3e 100644
--- a/styles/Kopete/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Kopete/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html Action.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Kopete/Contents/Resources/Incoming)
+install( FILES buddy_icon.png Content.html NextContent.html Action.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Kopete/Contents/Resources/Incoming)
diff --git a/styles/Kopete/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Kopete/Contents/Resources/Outgoing/CMakeLists.txt
index 433607c..93ebddd 100644
--- a/styles/Kopete/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Kopete/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-install( FILES buddy_icon.png Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Kopete/Contents/Resources/Outgoing)
+install( FILES buddy_icon.png Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Kopete/Contents/Resources/Outgoing)
diff --git a/styles/Kopete/Contents/Resources/Variants/CMakeLists.txt b/styles/Kopete/Contents/Resources/Variants/CMakeLists.txt
index 469eb9c..8afd3ec 100644
--- a/styles/Kopete/Contents/Resources/Variants/CMakeLists.txt
+++ b/styles/Kopete/Contents/Resources/Variants/CMakeLists.txt
@@ -1,6 +1,6 @@
########### install files ###############
-install( FILES Big_pictures.css Contact_color.css _compact_.css _compact_Contact_color.css DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Kopete/Contents/Resources/Variants)
+install( FILES Big_pictures.css Contact_color.css _compact_.css _compact_Contact_color.css DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Kopete/Contents/Resources/Variants)
diff --git a/styles/Kopete/Contents/Resources/images/CMakeLists.txt b/styles/Kopete/Contents/Resources/images/CMakeLists.txt
index 013e878..8964a82 100644
--- a/styles/Kopete/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Kopete/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES action.png important.png system.png state-sending.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Kopete/Contents/Resources/images)
+install( FILES action.png important.png system.png state-sending.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Kopete/Contents/Resources/images)
diff --git a/styles/Pidgin/Contents/CMakeLists.txt b/styles/Pidgin/Contents/CMakeLists.txt
index 99637e6..2e27cc2 100644
--- a/styles/Pidgin/Contents/CMakeLists.txt
+++ b/styles/Pidgin/Contents/CMakeLists.txt
@@ -1,3 +1,3 @@
add_subdirectory(Resources)
-install( FILES Info.plist DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/)
+install( FILES Info.plist DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/)
diff --git a/styles/Pidgin/Contents/Resources/CMakeLists.txt b/styles/Pidgin/Contents/Resources/CMakeLists.txt
index a4b3b56..6a5c4bc 100644
--- a/styles/Pidgin/Contents/Resources/CMakeLists.txt
+++ b/styles/Pidgin/Contents/Resources/CMakeLists.txt
@@ -3,4 +3,4 @@ add_subdirectory(Incoming)
add_subdirectory(Outgoing)
add_subdirectory(Variants)
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/Resources)
diff --git a/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt b/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt
index 4edc2c3..3176d93 100644
--- a/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Pidgin/Contents/Resources/Incoming/CMakeLists.txt
@@ -1 +1 @@
-install( FILES Content.html NextContent.html Action.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Incoming)
+install( FILES Content.html NextContent.html Action.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/Resources/Incoming)
diff --git a/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt
index 8c63b49..71bcc2d 100644
--- a/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Pidgin/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1 +1 @@
-install( FILES Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Outgoing)
+install( FILES Content.html NextContent.html Action.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/Resources/Outgoing)
diff --git a/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt b/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt
index 94a5090..5b7e7a6 100644
--- a/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt
+++ b/styles/Pidgin/Contents/Resources/Variants/CMakeLists.txt
@@ -1 +1 @@
-install( FILES Contact-Colors.css Name-Colors.css No-Colors.css Status-Colors.css DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/Variants)
+install( FILES Contact-Colors.css Name-Colors.css No-Colors.css Status-Colors.css DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/Resources/Variants)
diff --git a/styles/Pidgin/Contents/Resources/images/CMakeLists.txt b/styles/Pidgin/Contents/Resources/images/CMakeLists.txt
index f63f57a..bc4f792 100644
--- a/styles/Pidgin/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Pidgin/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES state-sending.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Pidgin/Contents/Resources/images)
+install( FILES state-sending.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Pidgin/Contents/Resources/images)
diff --git a/styles/Retropete/Contents/Resources/CMakeLists.txt b/styles/Retropete/Contents/Resources/CMakeLists.txt
index 0b3dfee..1a17e8a 100644
--- a/styles/Retropete/Contents/Resources/CMakeLists.txt
+++ b/styles/Retropete/Contents/Resources/CMakeLists.txt
@@ -5,5 +5,5 @@ add_subdirectory( Outgoing )
########### install files ###############
-install( FILES main.css Footer.html Header.html Status.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Retropete/Contents/Resources)
+install( FILES main.css Footer.html Header.html Status.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Retropete/Contents/Resources)
diff --git a/styles/Retropete/Contents/Resources/Incoming/CMakeLists.txt b/styles/Retropete/Contents/Resources/Incoming/CMakeLists.txt
index ed89423..cb61c84 100644
--- a/styles/Retropete/Contents/Resources/Incoming/CMakeLists.txt
+++ b/styles/Retropete/Contents/Resources/Incoming/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES Action.html Content.html NextContent.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Retropete/Contents/Resources/Incoming)
+install( FILES Action.html Content.html NextContent.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Retropete/Contents/Resources/Incoming)
diff --git a/styles/Retropete/Contents/Resources/Outgoing/CMakeLists.txt b/styles/Retropete/Contents/Resources/Outgoing/CMakeLists.txt
index 14c9490..0ab0bc3 100644
--- a/styles/Retropete/Contents/Resources/Outgoing/CMakeLists.txt
+++ b/styles/Retropete/Contents/Resources/Outgoing/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES Action.html Content.html NextContent.html StateSending.html StateError.html DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Retropete/Contents/Resources/Outgoing)
+install( FILES Action.html Content.html NextContent.html StateSending.html StateError.html DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Retropete/Contents/Resources/Outgoing)
diff --git a/styles/Retropete/Contents/Resources/images/CMakeLists.txt b/styles/Retropete/Contents/Resources/images/CMakeLists.txt
index aa7670c..38cf3cd 100644
--- a/styles/Retropete/Contents/Resources/images/CMakeLists.txt
+++ b/styles/Retropete/Contents/Resources/images/CMakeLists.txt
@@ -1,5 +1,5 @@
########### install files ###############
-install( FILES state-sending.gif state-error.png DESTINATION ${DATA_INSTALL_DIR}/kopete/styles/Retropete/Contents/Resources/images)
+install( FILES state-sending.gif state-error.png DESTINATION ${KDE_INSTALL_DATADIR}/kopete/styles/Retropete/Contents/Resources/images)