Use non-deprecated KDEInstallDir variables

parent 5663eba5
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR kapptemplate)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${KDE_INSTALL_DOCBUNDLEDIR}/en SUBDIR kapptemplate)
......@@ -8,4 +8,4 @@ set(kapptemplate_ICONS
sc-apps-kapptemplate.svg
)
ecm_install_icons(ICONS ${kapptemplate_ICONS} DESTINATION ${ICON_INSTALL_DIR} THEME hicolor)
ecm_install_icons(ICONS ${kapptemplate_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR} THEME hicolor)
......@@ -24,8 +24,8 @@ target_link_libraries(kapptemplate
KF5::NewStuff
)
install(TARGETS kapptemplate ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kapptemplate.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(TARGETS kapptemplate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kapptemplate.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.kapptemplate.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES kapptemplate.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES kapptemplate.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR})
install(FILES kapptemplate.knsrc DESTINATION ${KDE_INSTALL_CONFDIR})
......@@ -27,4 +27,4 @@ add_library(%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS})
target_link_libraries(%{APPNAMELC} KF5::TextEditor)
install(TARGETS %{APPNAMELC} DESTINATION ${PLUGIN_INSTALL_DIR}/ktexteditor)
install(TARGETS %{APPNAMELC} DESTINATION ${KDE_INSTALL_PLUGINDIR}/ktexteditor)
Markdown is supported
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