From 1fb200d18cc385230b3af574816ec354682cc5c9 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 9 Sep 2014 23:00:14 -0700 Subject: [PATCH] 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 --- icon/Makefile.am | 4 ++-- 1 file 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) $@ -- 2.30.2