diff options
author | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-22 11:46:21 +0100 |
---|---|---|
committer | Marco Barisione <marco.barisione@collabora.co.uk> | 2013-08-22 12:52:59 +0100 |
commit | ee70418cea9bb97223589087aa6a970860f147a6 (patch) | |
tree | cc775fa9932be46d61d718ffa1e1e6deb5416038 /data | |
parent | 84d26bd9c0301340e1a07bec29a139912e959b32 (diff) |
build: add --with-icondir to set a different install path for icons
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 ba62ff70..71207a88 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) $(real_pkgdatadir)/icons/$$theme; \ + $(gtk_update_icon_cache) $(icondir)/$$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) $(real_pkgdatadir)/icons/$$theme"; \ + echo "*** $(gtk_update_icon_cache) $(icondir)/$$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)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \ - $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + mkdir -p $(DESTDIR)$(icondir)/$$THEME/$$SIZE/$$CONTEXT; \ + $(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(icondir)/$$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)$(real_pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ + rm -f $(DESTDIR)$(icondir)/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \ done install-data-local: |