Commit 6bcfe592 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use non-deprecated KDEInstallDirs variables

parent 01c7ae1b
......@@ -28,11 +28,11 @@ target_link_libraries (milou
install(
FILES miloupreviewplugin.desktop
DESTINATION ${SERVICETYPES_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_KSERVICETYPES5DIR})
generate_export_header(milou BASE_NAME MILOU EXPORT_FILE_NAME milou_export.h)
install(TARGETS milou EXPORT MilouLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
install(TARGETS milou EXPORT MilouLibraryTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
add_subdirectory(qml)
add_subdirectory(previews)
......
......@@ -9,11 +9,11 @@ target_link_libraries(miloutextplugin
install(
FILES miloutextpreview.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(
TARGETS miloutextplugin
DESTINATION ${PLUGIN_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# Images
......@@ -28,11 +28,11 @@ DESTINATION ${PLUGIN_INSTALL_DIR})
#
#install(
#FILES milouimagepreview.desktop
#DESTINATION ${SERVICES_INSTALL_DIR})
#DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
#install(
#TARGETS milouimageplugin
#DESTINATION ${PLUGIN_INSTALL_DIR})
#DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# Emails
......@@ -51,11 +51,11 @@ if(KdepimLibs_FOUND)
#
# install(
# FILES milouemailpreview.desktop
# DESTINATION ${SERVICES_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
# install(
# TARGETS milouemailplugin
# DESTINATION ${PLUGIN_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_PLUGINDIR})
endif()
#
......@@ -73,11 +73,11 @@ endif()
#
#install(
#FILES milouokularpreview.desktop
#DESTINATION ${SERVICES_INSTALL_DIR})
#DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
#install(
#TARGETS milouokularplugin
#DESTINATION ${PLUGIN_INSTALL_DIR})
#DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# Audio
......@@ -93,11 +93,11 @@ endif()
#
# install(
# FILES milouaudiopreview.desktop
# DESTINATION ${SERVICES_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
# install(
# TARGETS milouaudioplugin
# DESTINATION ${PLUGIN_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# #
# # General Files
......@@ -113,11 +113,11 @@ endif()
#
# install(
# FILES miloufilepreview.desktop
# DESTINATION ${SERVICES_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
# install(
# TARGETS miloufileplugin
# DESTINATION ${PLUGIN_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# #
# # Applications
......@@ -132,11 +132,11 @@ endif()
#
# install(
# FILES milouapplicationpreview.desktop
# DESTINATION ${SERVICES_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
# install(
# TARGETS milouapplicationplugin
# DESTINATION ${PLUGIN_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_PLUGINDIR})
#
# #
# # Bookmarks
......@@ -151,8 +151,8 @@ endif()
#
# install(
# FILES miloubookmarkpreview.desktop
# DESTINATION ${SERVICES_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
#
# install(
# TARGETS miloubookmarkplugin
# DESTINATION ${PLUGIN_INSTALL_DIR})
# DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -9,8 +9,8 @@ target_link_libraries(milouvideoplugin
install(
FILES milouvideopreview.desktop
DESTINATION ${SERVICES_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
install(
TARGETS milouvideoplugin
DESTINATION ${PLUGIN_INSTALL_DIR})
DESTINATION ${KDE_INSTALL_PLUGINDIR})
......@@ -11,8 +11,8 @@ target_link_libraries (milouqmlplugin
milou
)
install (TARGETS milouqmlplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/milou)
install (FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/milou)
install (TARGETS milouqmlplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/milou)
install (FILES qmldir DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/milou)
install (FILES ResultDelegate.qml ResultsView.qml globals.js
ResultsListViewDelegate.qml ResultsListView.qml
DESTINATION ${QML_INSTALL_DIR}/org/kde/milou)
DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/milou)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment