Git Repositories

2006-04-09 Benedikt Meurer <benny@xfce.org>
authorBenedikt Meurer <benny@xfce.org>
Sun, 9 Apr 2006 17:40:51 +0000 (17:40 +0000)
committerBenedikt Meurer <benny@xfce.org>
Sun, 9 Apr 2006 17:40:51 +0000 (17:40 +0000)
* icons/Makefile.am: Be sure to run gtk-update-icon-cache after
  installing new icons into the hicolor icon theme (skipped if $DESTDIR
  is set).

(Old svn revision: 20832)

ChangeLog
icons/Makefile.am

index 3d36e64..113b3ab 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2006-04-09     Benedikt Meurer <benny@xfce.org>
 
+       * icons/Makefile.am: Be sure to run gtk-update-icon-cache after
+         installing new icons into the hicolor icon theme (skipped if $DESTDIR
+         is set).
+
+2006-04-09     Benedikt Meurer <benny@xfce.org>
+
        * docs/README.thunarrc, thunar/thunar-preferences.c: Add new option
          "MiscSingleClickTimeout", which specifies the delay after which
          items are automatically selected in single-click mode.
index c9a589c..d6a95be 100644 (file)
@@ -6,4 +6,17 @@ SUBDIRS =                                                              \
        48x48                                                           \
        scalable
 
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook:
+       @-if test -z "$(DESTDIR)"; then                                 \
+                echo "Updating Gtk icon cache.";                       \
+                $(gtk_update_icon_cache);                              \
+        else                                                           \
+                echo "*** Icon cache not updated. Remember to run:";   \
+               echo "***";                                             \
+                echo "***   $(gtk_update_icon_cache)";                 \
+               echo "***";                                             \
+        fi
+
 # vi:set ts=8 sw=8 noet ai nocindent syntax=automake: