summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-22 08:45:00 +0100
committerMontel Laurent <[email protected]>2015-03-22 08:45:17 +0100
commitef6c1b7cffafdb7a5b782b3ac4cf12c3272080dc (patch)
treed41233a2abe690961999bd4179a136b25c6a2f9c
parent0b0abddefde499f445e6e7f2f7cc1c0973486d9e (diff)
Use new kde variable
-rw-r--r--CMakeLists.txt2
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--src/CMakeLists.txt12
-rw-r--r--src/examples/CMakeLists.txt2
-rw-r--r--src/icons/CMakeLists.txt2
5 files changed, 10 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 71d9755..13c0805 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,5 +48,5 @@ add_definitions(-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS)
add_subdirectory(doc)
add_subdirectory(src)
-install(FILES kwordquiz.appdata.xml DESTINATION ${SHARE_INSTALL_PREFIX}/appdata/)
+install(FILES kwordquiz.appdata.xml DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata/)
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 80abeee..9eda76d 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -1,4 +1,4 @@
########### install files ###############
#
#
-kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kwordquiz)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kwordquiz)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index f810a78..3f15402 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -91,16 +91,16 @@ target_link_libraries(kwordquiz
Phonon::phonon4qt5
)
-install(TARGETS kwordquiz ${INSTALL_TARGETS_DEFAULT_ARGS} )
+install(TARGETS kwordquiz ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
########### install files ###############
-install( PROGRAMS org.kde.kwordquiz.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES kwordquiz.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
-install( FILES kwordquiz.knsrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} )
-install( FILES kwordquiz.notifyrc DESTINATION ${DATA_INSTALL_DIR}/kwordquiz )
+install( PROGRAMS org.kde.kwordquiz.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+install( FILES kwordquiz.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} )
+install( FILES kwordquiz.knsrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
+install( FILES kwordquiz.notifyrc DESTINATION ${KDE_INSTALL_DATADIR}/kwordquiz )
install(FILES
kwordquizui.rc
- DESTINATION ${KXMLGUI_INSTALL_DIR}/kwordquiz)
+ DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kwordquiz)
diff --git a/src/examples/CMakeLists.txt b/src/examples/CMakeLists.txt
index 2aeca8d..d74b912 100644
--- a/src/examples/CMakeLists.txt
+++ b/src/examples/CMakeLists.txt
@@ -1,3 +1,3 @@
-install( FILES example.kvtml french_verbs.kvtml fill_in_the_blank.kvtml us_states_and_capitals.kvtml DESTINATION ${DATA_INSTALL_DIR}/kwordquiz/examples )
+install( FILES example.kvtml french_verbs.kvtml fill_in_the_blank.kvtml us_states_and_capitals.kvtml DESTINATION ${KDE_INSTALL_DATADIR}/kwordquiz/examples )
diff --git a/src/icons/CMakeLists.txt b/src/icons/CMakeLists.txt
index edd13b3..6191cfc 100644
--- a/src/icons/CMakeLists.txt
+++ b/src/icons/CMakeLists.txt
@@ -8,6 +8,6 @@ ecm_install_icons(ICONS
48-apps-kwordquiz.png
48-mimetypes-application-x-kwordquiz.png
64-apps-kwordquiz.png
- DESTINATION ${ICON_INSTALL_DIR}
+ DESTINATION ${KDE_INSTALL_ICONDIR}
THEME hicolor
)