Fix make distcheck.

Use srcdir/abs_srcdir in Makefile.am for dealing with VPATH builds.
This commit is contained in:
Jehan 2014-08-16 18:57:28 +02:00
parent af5732ec14
commit c4dbb34199
1 changed files with 4 additions and 4 deletions

View File

@ -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