Commit 24d81a43 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use non-deprecated KDEInstallDirs variables

parent 288862a4
########### install files ###############
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kcontrol5/filetypes)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kcontrol5/filetypes)
......@@ -2,6 +2,6 @@
#
#
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kdesu)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kdesu)
kdoctools_create_manpage(man-kdesu.1.docbook 1 INSTALL_DESTINATION ${MAN_INSTALL_DIR})
kdoctools_create_manpage(man-kdesu.1.docbook 1 INSTALL_DESTINATION ${KDE_INSTALL_MANDIR})
......@@ -2,4 +2,4 @@ add_executable(kbroadcastnotification main.cpp)
target_compile_definitions(kbroadcastnotification PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries(kbroadcastnotification Qt5::DBus KF5::CoreAddons KF5::I18n)
install(TARGETS kbroadcastnotification ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kbroadcastnotification ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -13,5 +13,5 @@ target_link_libraries(kdeinit_kcmshell5
KF5::Activities
)
install(TARGETS kdeinit_kcmshell5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kcmshell5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kdeinit_kcmshell5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kcmshell5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -28,7 +28,7 @@ target_link_libraries(kcm_filetypes
Qt5::DBus
)
install(TARGETS kcm_filetypes DESTINATION ${PLUGIN_INSTALL_DIR} )
install(TARGETS kcm_filetypes DESTINATION ${KDE_INSTALL_PLUGINDIR} )
########### next target ###############
......@@ -49,8 +49,8 @@ if (Q_WS_X11)
target_link_libraries(keditfiletype5 ${X11_X11_LIB})
endif ()
install(TARGETS keditfiletype5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS keditfiletype5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install( FILES filetypes.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES filetypes.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
......@@ -13,7 +13,7 @@ function(add_kioclient_interface TARGET_NAME)
target_compile_definitions(${TARGET_NAME} PRIVATE "-DKIOCLIENT_AS_${UPPER_TARGET_NAME}")
target_compile_definitions(${TARGET_NAME} PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries(${TARGET_NAME} Qt5::DBus Qt5::Widgets KF5::CoreAddons ${kio_libs} KF5::I18n)
install(TARGETS ${TARGET_NAME} ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS ${TARGET_NAME} ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
endfunction()
#we compile every file with different definitions, so it will behave slightly different
......@@ -30,5 +30,5 @@ add_executable(kde-open5 kioclient.cpp)
target_compile_definitions(kde-open5 PRIVATE "-DKIOCLIENT_AS_KDEOPEN")
target_compile_definitions(kde-open5 PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries(kde-open5 Qt5::DBus KF5::CoreAddons KF5::KIOWidgets KF5::I18n)
install(TARGETS kde-open5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kde-open5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
endif()
......@@ -8,4 +8,4 @@ target_link_libraries(kmimetypefinder5
Qt5::Core
)
install(TARGETS kmimetypefinder5 ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(TARGETS kmimetypefinder5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
......@@ -14,4 +14,4 @@ target_link_libraries(kstart5
KF5::WindowSystem
${X11_X11_LIB})
install(TARGETS kstart5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kstart5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
add_executable(ksvgtopng5 ksvgtopng.cpp)
ecm_mark_nongui_executable(ksvgtopng5)
target_link_libraries(ksvgtopng5 Qt5::Svg)
install(TARGETS ksvgtopng5 ${INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS ksvgtopng5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -9,4 +9,4 @@ target_link_libraries(ktraderclient5
Qt5::Core
)
install(TARGETS ktraderclient5 ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(TARGETS ktraderclient5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
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