completions/Makefile.am: symlinks depends on $(DATA) to avoid race conditions

error message was:
| ln: failed to create symbolic link `/home/andreas/tmp/oe-core-eglibc/work/all-angstrom-linux/bash-completion-2.0-r0/image/usr/share/bash-completion/completions/aclocal-1.11': No such file or directory
| make[2]: *** [symlinks] Error 1
| make[2]: *** Waiting for unfinished jobs....

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller 2012-11-06 09:10:23 +01:00 committed by Igor Murzov
parent b5dce1c4b6
commit 370b7a0d2f

View File

@ -550,7 +550,7 @@ CLEANFILES = \
xvnc4viewer \ xvnc4viewer \
ypcat ypcat
symlinks: $(targetdir) symlinks: $(targetdir) $(DATA)
for file in aclocal-1.11 ; do \ for file in aclocal-1.11 ; do \
rm -f $(targetdir)/$$file && \ rm -f $(targetdir)/$$file && \
$(LN_S) aclocal $(targetdir)/$$file ; \ $(LN_S) aclocal $(targetdir)/$$file ; \