[goobox] fixed install/uninstall of the icons
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] fixed install/uninstall of the icons
- Date: Thu, 29 Mar 2012 21:50:25 +0000 (UTC)
commit 09370001ee86445bafd4e47913d87ebbb3bd66ac
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Mar 29 23:42:06 2012 +0200
fixed install/uninstall of the icons
data/icons/256x256/apps/Makefile.am | 10 ----------
data/icons/48x48/apps/Makefile.am | 10 ----------
data/icons/Makefile.am | 13 +++++++++++++
3 files changed, 13 insertions(+), 20 deletions(-)
---
diff --git a/data/icons/256x256/apps/Makefile.am b/data/icons/256x256/apps/Makefile.am
index b18c2f4..ae66975 100644
--- a/data/icons/256x256/apps/Makefile.am
+++ b/data/icons/256x256/apps/Makefile.am
@@ -13,14 +13,4 @@ EXTRA_DIST = \
$(icons_DATA) \
$(noinst_DATA)
-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. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-include $(top_srcdir)/git.mk
diff --git a/data/icons/48x48/apps/Makefile.am b/data/icons/48x48/apps/Makefile.am
index 0381f90..6c6ce6c 100644
--- a/data/icons/48x48/apps/Makefile.am
+++ b/data/icons/48x48/apps/Makefile.am
@@ -13,14 +13,4 @@ EXTRA_DIST = \
$(icons_DATA) \
$(noinst_DATA)
-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. After install, run this:"; \
- echo "*** $(gtk_update_icon_cache)"; \
- fi
-include $(top_srcdir)/git.mk
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index 9121fe8..7b7a14e 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -1,3 +1,16 @@
SUBDIRS = 256x256 48x48
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+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 (un)install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]