summaryrefslogtreecommitdiff
blob: 717613b45ea28eb9e43b8c5def5a58cbd7fc3c34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From db1e859fa27a4d3ca8a45937c2730f83c34405c6 Mon Sep 17 00:00:00 2001
From: Alexandre Rostovtsev <tetromino@gentoo.org>
Date: Sat, 28 Mar 2015 00:28:16 -0400
Subject: [PATCH] HC: fix out-of-tree builds

https://bugzilla.gnome.org/show_bug.cgi?id=746920
---
 themes/HighContrast/icons/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/HighContrast/icons/Makefile.am b/themes/HighContrast/icons/Makefile.am
index 76e824d..5545157 100644
--- a/themes/HighContrast/icons/Makefile.am
+++ b/themes/HighContrast/icons/Makefile.am
@@ -6,7 +6,7 @@ render_sizes = "16x16" "22x22" "24x24" "32x32" "48x48" "256x256" "scalable"
 THEME_DIRS=$(shell SIZES="$(render_sizes)"; for size in $$SIZES; do for dir in `find $(srcdir)/$$size/* -type d`; do printf "$$dir,"; done; done;)
 
 %.theme: %.theme.in Makefile
-	dirs="`echo $(THEME_DIRS) | sed -e 's#\./##g'`"; \
+	dirs="`echo $(THEME_DIRS) | sed -e \"s#$(srcdir)/*##g\"`"; \
 	sed -e "s|\@THEME_DIRS\@|$$dirs|g" < $< > $@; \
 	echo "" >> $@; \
 	for dir in `echo $$dirs | sed -e "s/,/ /g"`; do \
-- 
2.3.3