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



commit 31a15570ebaf4ba0923f8e9ddee7706086fb65dc
Author: Michael Natterer <mitch gimp org>
Date:   Mon Jan 4 00:10:30 2016 +0100

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

 app/tests/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am
index 3726c2d..c9da4af 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]