summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-10-22 08:11:59 -0700
committerStefano Karapetsas <[email protected]>2013-10-22 08:11:59 -0700
commit9d9aa2b9986edd94a3b72a593be7fd588fc031a0 (patch)
tree8f65ce2c70943e21e7a03784466e7a4f3bfae1be /data/Makefile.am
parent0656ca9fb350ebcf05d205dc861cacc875067dd7 (diff)
parent14d28b255c8e9fc26cc6e6bf0fc96d938f88fa27 (diff)
downloadmate-notification-daemon-9d9aa2b9986edd94a3b72a593be7fd588fc031a0.tar.bz2
mate-notification-daemon-9d9aa2b9986edd94a3b72a593be7fd588fc031a0.tar.xz
Merge pull request #22 from infirit/master
New option to disable icon cache generation and small autofoo fixes
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index dd8beb6..1aec612 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -27,7 +27,7 @@ convertdir = $(datadir)/MateConf/gsettings
convert_DATA = mate-notification-daemon.convert
EXTRA_DIST = \
- $(gsettings_SCHEMAS_in_in) \
+ $(gsettings_SCHEMAS).in.in \
$(convert_DATA) \
$(service_DATA) \
$(icon16_DATA) \
@@ -37,12 +37,14 @@ EXTRA_DIST = \
$(icon48_DATA) \
$(iconscalable_DATA)
-gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+CLEANFILES = $(gsettings_SCHEMAS)
+
+gtk_update_icon_cache = $(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 \
+ @-if test -z "$(DESTDIR)" && ICON_UPDATE; then \
echo "Updating Gtk icon cache."; \
$(gtk_update_icon_cache); \
else \