app: use less weird paths for creating the test icon theme

This commit is contained in:
Michael Natterer 2016-01-04 00:10:30 +01:00
parent 5455b8bfd0
commit 31a15570eb
1 changed files with 4 additions and 4 deletions

View File

@ -137,12 +137,12 @@ gimpdir-output:
mkdir -p gimpdir-output/gradients
gimp-test-icon-theme:
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 \
mkdir -p $$(echo $$(find $(top_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 $(top_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/Default/$${dir} apps); \
$(LN_S) $(abs_top_srcdir)/icons/Default/$${dir} apps); \
done
(cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_srcdir)/../../icons/Default/index.theme index.theme)
(cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_top_srcdir)/icons/Default/index.theme index.theme)
clean-local:
rm -rf gimpdir-output