summaryrefslogtreecommitdiff
path: root/sci-chemistry/coot/files/coot-0.8.2-sandbox-icons.patch
blob: 2a9ff2d7177cc23e62b072e93abb77dca6b6eb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
 pixmaps/icons/Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pixmaps/icons/Makefile.am b/pixmaps/icons/Makefile.am
index 0c183ae..dddc11a 100644
--- a/pixmaps/icons/Makefile.am
+++ b/pixmaps/icons/Makefile.am
@@ -11,6 +11,6 @@ install-data-local:
 		CONTEXT=` echo $$icon | cut -d_ -f2`; \
 		SIZE=`    echo $$icon | cut -d_ -f3`; \
 		ICONFILE=`echo $$icon | cut -d_ -f4`; \
-		mkdir -p $(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
-		$(INSTALL_DATA) $(srcdir)/$$icon $(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
+		mkdir -p $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
+		$(INSTALL_DATA) $(srcdir)/$$icon $(DESTDIR)$(datadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \
 	done;