diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-01 15:37:28 +0100 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-20 11:44:24 +0100 |
commit | 0aab6f2536812fad6ca357d199b48b261d0041b6 (patch) | |
tree | aa143af3bc8b6f87410d3da0060f8bf19db3e7f4 /data | |
parent | 4a717c1b59e32e88eae5b17dc4d79d110964e23d (diff) |
configure.ac: allow to overwrite where to install data files
Diffstat (limited to 'data')
-rw-r--r-- | data/icons/Makefile.am | 10 |
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: |