summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-08-01 15:37:28 +0100
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 11:44:24 +0100
commit0aab6f2536812fad6ca357d199b48b261d0041b6 (patch)
treeaa143af3bc8b6f87410d3da0060f8bf19db3e7f4 /data
parent4a717c1b59e32e88eae5b17dc4d79d110964e23d (diff)
downloadtelepathy-account-widgets-0aab6f2536812fad6ca357d199b48b261d0041b6.tar.gz
configure.ac: allow to overwrite where to install data files
Diffstat (limited to 'data')
-rw-r--r--data/icons/Makefile.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index a78e6bcf..ba62ff70 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -145,12 +145,12 @@ update-icon-cache:
@-if test -z "$(DESTDIR)"; then \
echo "Updating Gtk icon cache."; \
for theme in $(private_icons_themes); do \
- $(gtk_update_icon_cache) $(pkgdatadir)/icons/$$theme; \
+ $(gtk_update_icon_cache) $(real_pkgdatadir)/icons/$$theme; \
done; \
else \
echo "*** Icon cache not updated. After (un)install, run this:"; \
for theme in $(private_icons_themes); do \
- echo "*** $(gtk_update_icon_cache) $(pkgdatadir)/icons/$$theme"; \
+ echo "*** $(gtk_update_icon_cache) $(real_pkgdatadir)/icons/$$theme"; \
done; \
fi
@@ -160,8 +160,8 @@ install-icons:
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
- mkdir -p $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
- $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ mkdir -p $(DESTDIR)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+ $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
uninstall-icons:
@@ -170,7 +170,7 @@ uninstall-icons:
CONTEXT=`echo $$icon | cut -d_ -f2`; \
SIZE=`echo $$icon | cut -d_ -f3`; \
ICONFILE=`echo $$icon | cut -d_ -f4`; \
- rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+ rm -f $(DESTDIR)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
done
install-data-local: