From 3cfd38d36aeed026857ed52b3bc32623bb1ebce6 Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Fri, 8 Jun 2012 11:27:57 +0100 Subject: [PATCH] Fix git-tree deps for version.c in out-of-tree build Signed-off-by: David Woodhouse --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a5aad75..682db8e 100644 --- a/configure.ac +++ b/configure.ac @@ -384,7 +384,8 @@ AC_SUBST(APIMINOR) # and we cannot use $(wildcard) in a non-GNU makefile. So we just # depend on the files which happen to exist at configure time. GITVERSIONDEPS= -for a in .git/index .git/packed-refs .git/refs/tags .git/HEAD; do +for a in ${srcdir}/.git/index ${srcdir}/.git/packed-refs \ + ${srcdir}/.git/refs/tags ${srcdir}/.git/HEAD; do if test -r $a ; then GITVERSIONDEPS="$GITVERSIONDEPS $a" fi -- 2.7.4