[gnome-packagekit/gnome-3-10] trivial: Fix make distcheck



commit a25b247f5884522ed76048e3c939ed71bec70a7a
Author: Richard Hughes <richard hughsie com>
Date:   Mon Oct 14 13:05:37 2013 +0100

    trivial: Fix make distcheck

 data/icons/Makefile.am |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index fba8cff..0d0c052 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,13 +1,15 @@
 SUBDIRS = scalable 16x16 22x22 24x24 48x48
 
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(pkgdatadir)/icons/hicolor
 
-install-data-hook:
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
        @-if test -z "$(DESTDIR)"; then \
                echo "Updating Gtk icon cache."; \
                $(gtk_update_icon_cache); \
        else \
-               echo "*** Icon cache not updated.  After install, run this:"; \
+               echo "*** Icon cache not updated.  After (un)install, run this:"; \
                echo "***   $(gtk_update_icon_cache)"; \
        fi
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]