diff options
author | Alexander Lohnau <alexander.lohnau@gmx.de> | 2020-11-24 22:24:40 +0100 |
---|---|---|
committer | Aleix Pol Gonzalez <aleixpol@kde.org> | 2020-12-01 20:21:54 +0000 |
commit | 884381e9800ef6e74f37648362493c94b131b151 (patch) | |
tree | b2d3c321fa3838b568f53363d2e9505fc3ea198a | |
parent | 861d92376549db69848ffbcb7b1af1ed828e82a6 (diff) | |
download | extra-cmake-modules-884381e9800ef6e74f37648362493c94b131b151.tar.gz extra-cmake-modules-884381e9800ef6e74f37648362493c94b131b151.tar.bz2 |
Define install dir variable for file templates
Just like the app templates the file templates have a specific install
location.
Also the KTEMPLATESDIR is only used as a fallback, because it suggests
that all templates are in that dir, which is not true.
-rw-r--r-- | kde-modules/KDEInstallDirs.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/kde-modules/KDEInstallDirs.cmake b/kde-modules/KDEInstallDirs.cmake index d739cf19..de4367bf 100644 --- a/kde-modules/KDEInstallDirs.cmake +++ b/kde-modules/KDEInstallDirs.cmake @@ -573,8 +573,12 @@ _define_relative(KNOTIFY5RCDIR DATAROOTDIR "knotifications5" _define_relative(KXMLGUI5DIR DATAROOTDIR "kxmlgui5" "kxmlgui .rc files" KXMLGUI_INSTALL_DIR) -_define_relative(KTEMPLATESDIR DATAROOTDIR "kdevappwizard/templates" - "Kapptemplate and Kdevelop templates") +_define_relative(KAPPTEMPLATESDIR DATAROOTDIR "kdevappwizard/templates" + "KAppTemplate and KDevelop templates" + KDE_INSTALL_KTEMPLATESDIR + ) +_define_relative(KFILETEMPLATESDIR DATAROOTDIR "kdevfiletemplates/templates" + "KDevelop file templates") _define_relative(LOGGINGCATEGORIESDIR DATAROOTDIR "qlogging-categories5" "Qt Logging categories files") _define_relative(JARDIR "" "jar" |