summarylogtreecommitdiffstats
path: root/coot-0.8.2-sandbox-icons.patch
diff options
context:
space:
mode:
Diffstat (limited to 'coot-0.8.2-sandbox-icons.patch')
-rw-r--r--coot-0.8.2-sandbox-icons.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/coot-0.8.2-sandbox-icons.patch b/coot-0.8.2-sandbox-icons.patch
new file mode 100644
index 000000000000..2a9ff2d7177c
--- /dev/null
+++ b/coot-0.8.2-sandbox-icons.patch
@@ -0,0 +1,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;