summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-18 00:09:50 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-18 00:09:50 +0000
commit98507202d4c13c1714a4ac1af074da9473864df1 (patch)
tree1123dc4db28376207b7d640d38ba659cb4e56173
parentd6e01088c75d3d8dbe635e6aa7ba4ce41a061874 (diff)
downloadtdebase-98507202d4c13c1714a4ac1af074da9473864df1.tar.gz
tdebase-98507202d4c13c1714a4ac1af074da9473864df1.zip
[kdebase/konsole] run mkfontdir after installing fonts
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1225188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--konsole/fonts/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/konsole/fonts/CMakeLists.txt b/konsole/fonts/CMakeLists.txt
index e3353a783..e61aa959b 100644
--- a/konsole/fonts/CMakeLists.txt
+++ b/konsole/fonts/CMakeLists.txt
@@ -14,6 +14,8 @@ install( FILES
${CMAKE_CURRENT_BINARY_DIR}/9x15.pcf.gz
DESTINATION ${DATA_INSTALL_DIR}/konsole/fonts )
+# FIXME this should be improved, to guarantee that mkfontdir is executed after fonts are installed
+install( CODE "execute_process( COMMAND mkfontdir \$ENV{DESTDIR}${DATA_INSTALL_DIR}/konsole/fonts )" )
# FIXME generating fonts can be improved