summaryrefslogtreecommitdiff
path: root/icon
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-09-09 23:00:14 -0700
committerKeith Packard <keithp@keithp.com>2014-09-09 23:00:14 -0700
commit1fb200d18cc385230b3af574816ec354682cc5c9 (patch)
tree5abe5ae58256b60c5557675aee648f71dde7b5ce /icon
parenta8c799c48a52bf13466536db627b66bfe2a435cd (diff)
icons: Use DESTDIR when updating mime/icon caches
This is done in install-data-hook and needs to explicitly use DESTDIR Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'icon')
-rw-r--r--icon/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/icon/Makefile.am b/icon/Makefile.am
index bf147ad3..d0cd9853 100644
--- a/icon/Makefile.am
+++ b/icon/Makefile.am
@@ -117,8 +117,8 @@ clean-local:
$(RM) altusmetrum.xpm
install-data-hook:
- update-mime-database $(datadir)/mime
- update-icon-caches $(ICON_THEME)
+ update-mime-database $(DESTDIR)$(datadir)/mime
+ update-icon-caches $(DESTDIR)$(ICON_THEME)
$(MPD_ICON): $(MP_ICON)
$(LN_S) $(MP_ICON) $@