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 authored and Atomic Bot committed 2016-07-16 20:38:48 +00:00
1 parent db974b0596
commit 29451a3999
1 file changed
+2 -2
+2 -2
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/rofiles-fuse-symlink-stamp tests/ostree
tests/%-symlink-stamp: Makefile
@set -e; \
tests/%-symlink-stamp: % Makefile
$(AM_V_GEN) set -e; \
lt_bin=`cd $(top_builddir) && ./libtool --mode=execute echo $*`; \
if test "$${lt_bin}" = "$*"; then \
real_bin=$(abs_top_builddir)/$*; \