[gimp] Fix make distcheck.



commit c4dbb34199989439562925ead3f762eb703a90f7
Author: Jehan <jehan girinstud io>
Date:   Sat Aug 16 18:57:28 2014 +0200

    Fix make distcheck.
    
    Use srcdir/abs_srcdir in Makefile.am for dealing with VPATH builds.

 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 4fb1f85..830ed94 100644
--- a/app/tests/Makefile.am
+++ b/app/tests/Makefile.am
@@ -138,12 +138,12 @@ gimpdir-output:
        mkdir -p gimpdir-output/gradients
 
 gimp-test-icon-theme:
-       mkdir -p $$(echo $$(find ../../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 ../../icons/ -name [0-9][0-9] -type d | sed 's  */\([0-9][0-9]\)$$ \1@')); 
do \
+       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 \
                (cd gimp-test-icon-theme/hicolor/$${dir}x$${dir}/ && \
-               $(LN_S) ../../../../../icons/$${dir} apps); \
+               $(LN_S) $(abs_srcdir)/../../../icons/$${dir} apps); \
        done
-       (cd gimp-test-icon-theme/hicolor && $(LN_S) ../../../../icons/index.theme index.theme)
+       (cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_srcdir)/../../icons/index.theme index.theme)
 
 clean-local:
        rm -rf gimpdir-output


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