build: Make symlink depend on source

Closes: https://github.com/ostreedev/ostree/issues/389

Closes: #400
Approved by: smcv
This commit is contained in:
Colin Walters 2016-07-15 11:17:43 -04:00 committed by Atomic Bot
parent db974b0596
commit 29451a3999
1 changed files with 2 additions and 2 deletions

View File

@ -243,8 +243,8 @@ CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp \
tests/ostree-prepare-root-symlink-stamp tests/ostree-remount-symlink-stamp \ tests/ostree-prepare-root-symlink-stamp tests/ostree-remount-symlink-stamp \
tests/rofiles-fuse-symlink-stamp tests/ostree tests/rofiles-fuse-symlink-stamp tests/ostree
tests/%-symlink-stamp: Makefile tests/%-symlink-stamp: % Makefile
@set -e; \ $(AM_V_GEN) set -e; \
lt_bin=`cd $(top_builddir) && ./libtool --mode=execute echo $*`; \ lt_bin=`cd $(top_builddir) && ./libtool --mode=execute echo $*`; \
if test "$${lt_bin}" = "$*"; then \ if test "$${lt_bin}" = "$*"; then \
real_bin=$(abs_top_builddir)/$*; \ real_bin=$(abs_top_builddir)/$*; \