From 433dfb64fed330303312a12c4738c7e75f4d0f77 Mon Sep 17 00:00:00 2001 From: Andy Spencer Date: Mon, 12 Sep 2011 01:33:18 +0000 Subject: [PATCH] Don't update icon cache if installing to DESTDIR --- data/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/data/Makefile.am b/data/Makefile.am index f644750..0c451d2 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -30,7 +30,9 @@ icon32_DATA = icons/32x32/aweather.png iconSC_DATA = icons/scalable/aweather.svg install-data-hook: - gtk-update-icon-cache -f -t $(datadir)/icons/hicolor + if test -z "$(DESTDIR)"; then \ + gtk-update-icon-cache -f -t $(datadir)/icons/hicolor; \ + fi endif glade: -- 2.43.2