Commit 5df4b07b authored by Michael Natterer's avatar Michael Natterer 😴

app: fix icon theme location in tests

parent 0a15b76a
...@@ -127,7 +127,7 @@ LDADD = \ ...@@ -127,7 +127,7 @@ LDADD = \
$(JSON_C_LIBS) \ $(JSON_C_LIBS) \
$(LIBMYPAINTGEGL_LIBS) \ $(LIBMYPAINTGEGL_LIBS) \
$(INTLLIBS) \ $(INTLLIBS) \
$(RT_LIBS) \ $(RT_LIBS) \
$(libm) $(libm)
gimpdir-output: gimpdir-output:
...@@ -137,12 +137,12 @@ gimpdir-output: ...@@ -137,12 +137,12 @@ gimpdir-output:
mkdir -p gimpdir-output/gradients mkdir -p gimpdir-output/gradients
gimp-test-icon-theme: 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@')) 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/ -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@\1@')); do \ 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}/ && \ (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 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: clean-local:
rm -rf gimpdir-output rm -rf gimpdir-output
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment