From 98507202d4c13c1714a4ac1af074da9473864df1 Mon Sep 17 00:00:00 2001 From: samelian Date: Fri, 18 Mar 2011 00:09:50 +0000 Subject: [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 --- konsole/fonts/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'konsole') 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 -- cgit v1.2.3