app: fix icon theme location in tests

This commit is contained in:
Michael Natterer 2015-12-22 21:27:20 +01:00
parent 0a15b76a9f
commit 5df4b07b04
1 changed files with 5 additions and 5 deletions

View File

@ -127,7 +127,7 @@ LDADD = \
$(JSON_C_LIBS) \
$(LIBMYPAINTGEGL_LIBS) \
$(INTLLIBS) \
$(RT_LIBS) \
$(RT_LIBS) \
$(libm)
gimpdir-output:
@ -137,12 +137,12 @@ gimpdir-output:
mkdir -p gimpdir-output/gradients
gimp-test-icon-theme:
mkdir -p $$(echo $$(find $(srcdir)/../../icons/ -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@gimp-test-icon-theme/hicolor/\1x\1@'))
for dir in $$(echo $$(find $(srcdir)/../../icons/ -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@\1@')); do \
mkdir -p $$(echo $$(find $(srcdir)/../../icons/Default -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@gimp-test-icon-theme/hicolor/\1x\1@'))
for dir in $$(echo $$(find $(srcdir)/../../icons/Default/ -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@\1@')); do \
(cd gimp-test-icon-theme/hicolor/$${dir}x$${dir}/ && \
$(LN_S) $(abs_srcdir)/../../../icons/$${dir} apps); \
$(LN_S) $(abs_srcdir)/../../icons/Default/$${dir} apps); \
done
(cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_srcdir)/../../icons/index.theme index.theme)
(cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_srcdir)/../../icons/Default/index.theme index.theme)
clean-local:
rm -rf gimpdir-output