summarylogtreecommitdiffstats
path: root/test_destdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'test_destdir.patch')
-rw-r--r--test_destdir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/test_destdir.patch b/test_destdir.patch
new file mode 100644
index 000000000000..9088402f06ca
--- /dev/null
+++ b/test_destdir.patch
@@ -0,0 +1,13 @@
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -85,7 +85,9 @@ install-data-local: install-gsettings-schemas
+ mostlyclean-local: clean-gsettings-schemas
+
+ install-data-hook:
+- touch $(datadir)/icons/hicolor
++ if test -z "$(DESTDIR)"; then \
++ touch $(datadir)/icons/hicolor; \
++ fi
+
+ CLEANFILES = \
+ $(desktop_file) \