diff --git a/Makefile.am b/Makefile.am index 300d8c0a..eec0571b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -103,10 +103,21 @@ desktopdir = $(datadir)/applications desktop_DATA = medit.desktop appicondir = $(datadir)/pixmaps appicon_DATA = moo/mooutils/pixmaps/medit.png -iconthemedir = $(datadir)/icons/hicolor/48x48/apps +hicolor = $(datadir)/icons/hicolor +iconthemedir = $(hicolor)/48x48/apps icontheme_DATA = moo/mooutils/pixmaps/medit.png EXTRA_DIST += $(desktop_DATA) +update_icon_cache = gtk-update-icon-cache -f -t $(hicolor) + +install-data-hook: + if echo "Updating icon cache" && $(update_icon_cache); then \ + echo "Done."; \ + else \ + echo "*** GTK icon cache not updated. After install, run this:";\ + echo $(update_icon_cache); \ + fi + ############################################################################## # tests # diff --git a/moo.kdevelop b/moo.kdevelop index 4de876e2..89f02634 100644 --- a/moo.kdevelop +++ b/moo.kdevelop @@ -27,7 +27,7 @@ . false - + C @@ -55,15 +55,15 @@ kdevgppoptions kdevg77options -O0 -g3 - - - - - - + + + + + + - - + + --enable-debug --enable-all-gcc-warnings --without-python --prefix=/usr/local/gtk-print @@ -222,15 +222,15 @@ - + --g-fatal-warnings true false true - - - - + + + + true @@ -328,7 +328,7 @@ - + set m_,_ theValue @@ -338,7 +338,7 @@ false 3 - +