summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2010-12-21 01:22:28 +0100
committerJakub Steiner <jimmac@gmail.com>2010-12-21 01:22:28 +0100
commit84e38b44e550eac724171534a217effc0d63ca68 (patch)
tree8b88972d272c34bd553e3934f427aea11cb81b2a /Makefile.am
parent25e89b128b091daa232f4b73425e851a6194e572 (diff)
downloadadwaita-icon-theme-84e38b44e550eac724171534a217effc0d63ca68.tar.gz
install-data-hook fix by Yanko Kaneti <yaneti@declera.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index bdbcec4a1..7ba0f0009 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -19,7 +19,9 @@ install-data-local:
fi
install-data-hook:
- $(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir)
+ if test -z "$(DESTDIR)" ; then \
+ $(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir); \
+ fi
EXTRA_DIST = gnome