summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-03-05 08:09:43 +0100
committerMontel Laurent <[email protected]>2015-03-05 08:09:43 +0100
commit621f2c045122d73a19288ae4d9398d276572a83d (patch)
treee849f111d8c92df1b59c072812a0f12b96a3fc4e
parentf815359d9ce9b68c8bb84e8aeeab6e8508422c64 (diff)
Use new KDE_ macro
-rw-r--r--app/CMakeLists.txt10
-rw-r--r--color-schemes/CMakeLists.txt2
-rw-r--r--cursors/CMakeLists.txt2
-rw-r--r--doc/CMakeLists.txt2
-rw-r--r--icons/CMakeLists.txt2
-rw-r--r--images/CMakeLists.txt2
-rw-r--r--importer/CMakeLists.txt4
-rw-r--r--lib/CMakeLists.txt2
-rw-r--r--part/CMakeLists.txt6
9 files changed, 16 insertions, 16 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index 8686354..9f03289 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -84,14 +84,14 @@ if (KF5Kipi_FOUND)
endif()
install(TARGETS gwenview
- ${INSTALL_TARGETS_DEFAULT_ARGS})
+ ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES gwenviewui.rc
- DESTINATION ${KXMLGUI_INSTALL_DIR}/gwenview)
+ DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/gwenview)
install(PROGRAMS org.kde.gwenview.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR})
+ DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES gwenview.appdata.xml
- DESTINATION ${SHARE_INSTALL_PREFIX}/appdata)
+ DESTINATION ${KDE_INSTALL_DATAROOTDIR}/appdata)
install(FILES slideshow.desktop
- DESTINATION ${SERVICES_INSTALL_DIR}/ServiceMenus)
+ DESTINATION ${KDE_INSTALL_KSERVICES5DIR}/ServiceMenus)
diff --git a/color-schemes/CMakeLists.txt b/color-schemes/CMakeLists.txt
index c7e3bf8..067b7dd 100644
--- a/color-schemes/CMakeLists.txt
+++ b/color-schemes/CMakeLists.txt
@@ -1,4 +1,4 @@
install(
FILES fullscreen.colors
- DESTINATION ${DATA_INSTALL_DIR}/gwenview/color-schemes/
+ DESTINATION ${KDE_INSTALL_DATADIR}/gwenview/color-schemes/
)
diff --git a/cursors/CMakeLists.txt b/cursors/CMakeLists.txt
index 85722f4..c5754f0 100644
--- a/cursors/CMakeLists.txt
+++ b/cursors/CMakeLists.txt
@@ -1,4 +1,4 @@
install(
FILES zoom.png
- DESTINATION ${DATA_INSTALL_DIR}/gwenview/cursors/
+ DESTINATION ${KDE_INSTALL_DATADIR}/gwenview/cursors/
)
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index 2950672..1336cb6 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 gwenview)
+kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR gwenview)
diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt
index ac4bcb2..4138b5e 100644
--- a/icons/CMakeLists.txt
+++ b/icons/CMakeLists.txt
@@ -10,4 +10,4 @@ hi48-actions-document-share.png
hi48-apps-gwenview.png
hi64-actions-document-share.png
hi64-apps-gwenview.png
-DESTINATION ${ICON_INSTALL_DIR} )
+DESTINATION ${KDE_INSTALL_ICONDIR} )
diff --git a/images/CMakeLists.txt b/images/CMakeLists.txt
index eb2bb06..2a11840 100644
--- a/images/CMakeLists.txt
+++ b/images/CMakeLists.txt
@@ -1,3 +1,3 @@
install(FILES background.png
- DESTINATION ${DATA_INSTALL_DIR}/gwenview/images/
+ DESTINATION ${KDE_INSTALL_DATADIR}/gwenview/images/
)
diff --git a/importer/CMakeLists.txt b/importer/CMakeLists.txt
index 2f98b29..e75746e 100644
--- a/importer/CMakeLists.txt
+++ b/importer/CMakeLists.txt
@@ -49,8 +49,8 @@ target_link_libraries(gwenview_importer
)
install(TARGETS gwenview_importer
- ${INSTALL_TARGETS_DEFAULT_ARGS})
+ ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES gwenview_importer.desktop
gwenview_importer_camera.desktop
- DESTINATION ${DATA_INSTALL_DIR}/solid/actions/)
+ DESTINATION ${KDE_INSTALL_DATADIR}/solid/actions/)
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index d599ae8..51a795c 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -247,4 +247,4 @@ if (GWENVIEW_SEMANTICINFO_BACKEND_BALOO)
)
endif()
-install(TARGETS gwenviewlib ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
+install(TARGETS gwenviewlib ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
diff --git a/part/CMakeLists.txt b/part/CMakeLists.txt
index 82ed425..d2f0c9c 100644
--- a/part/CMakeLists.txt
+++ b/part/CMakeLists.txt
@@ -12,7 +12,7 @@ add_library(gvpart MODULE ${gvpart_SRCS})
target_link_libraries(gvpart KF5::Parts gwenviewlib)
-install(TARGETS gvpart DESTINATION ${PLUGIN_INSTALL_DIR})
-install(FILES gvpart.desktop DESTINATION ${SERVICES_INSTALL_DIR})
+install(TARGETS gvpart DESTINATION ${KDE_INSTALL_PLUGINDIR})
+install(FILES gvpart.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(FILES gvpart.rc
- DESTINATION ${DATA_INSTALL_DIR}/gvpart)
+ DESTINATION ${KDE_INSTALL_DATADIR}/gvpart)