summarylogtreecommitdiffstats
path: root/test_destdir.patch
blob: 9088402f06ca5769c71ff452eef2fe9ad69cd422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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) \