Update gtk icon cache on install

This commit is contained in:
Yevgen Muntyan 2006-06-11 03:03:41 -05:00
parent 1c70cf9f3c
commit 06dd7e97e6
2 changed files with 28 additions and 17 deletions

View File

@ -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
#

View File

@ -27,7 +27,7 @@
</ignoreparts>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<description></description>
<description/>
<secondaryLanguages>
<language>C</language>
</secondaryLanguages>
@ -55,15 +55,15 @@
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevg77options</f77compiler>
<cflags>-O0 -g3</cflags>
<topsourcedir></topsourcedir>
<cppflags></cppflags>
<ccompilerbinary></ccompilerbinary>
<cxxcompilerbinary></cxxcompilerbinary>
<f77compilerbinary></f77compilerbinary>
<f77flags></f77flags>
<topsourcedir/>
<cppflags/>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<f77flags/>
<envvars/>
<ldflags></ldflags>
<cxxflags></cxxflags>
<ldflags/>
<cxxflags/>
</debug>
<gtk-print>
<configargs>--enable-debug --enable-all-gcc-warnings --without-python --prefix=/usr/local/gtk-print</configargs>
@ -222,15 +222,15 @@
</kdevautoproject>
<kdevdebugger>
<general>
<dbgshell></dbgshell>
<dbgshell/>
<programargs>--g-fatal-warnings</programargs>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>true</floatingtoolbar>
<gdbpath></gdbpath>
<configGdbScript></configGdbScript>
<runShellScript></runShellScript>
<runGdbScript></runGdbScript>
<gdbpath/>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
</general>
<display>
<staticmembers>true</staticmembers>
@ -328,7 +328,7 @@
</codecompletion>
<references/>
<creategettersetter>
<prefixGet></prefixGet>
<prefixGet/>
<prefixSet>set</prefixSet>
<prefixVariable>m_,_</prefixVariable>
<parameterName>theValue</parameterName>
@ -338,7 +338,7 @@
<qt>
<used>false</used>
<version>3</version>
<root></root>
<root/>
</qt>
</kdevcppsupport>
<kdevdocumentation>