From: Colin Walters Date: Fri, 15 Jul 2016 15:17:43 +0000 (-0400) Subject: build: Make symlink depend on source X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~49^2~66 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=29451a39994ba54c2d41887b84342af9e3632b19;p=ostree.git build: Make symlink depend on source Closes: https://github.com/ostreedev/ostree/issues/389 Closes: #400 Approved by: smcv --- diff --git a/Makefile-tests.am b/Makefile-tests.am index 0b6b64e9..63d11ec8 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -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)/$*; \