From 655eb0bed0ec7aa4626ef77fbe5a0482fdf8a3ea Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Thu, 3 Nov 2011 00:57:22 +0000 Subject: [PATCH] Fix out-of-source-tree invocation of version.sh Signed-off-by: David Woodhouse --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index c3aec6d..ce50b33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,7 @@ version.c: $(filter-out version.c, $(libopenconnect_la_SOURCES)) \ $(openconnect_SOURCES) Makefile.am configure.ac \ openconnect.h openconnect-internal.h version.sh \ $(wildcard .git/index .git/refs/tags) - @./version.sh + @$(srcdir)/version.sh tmp-dist: uncommitted-check $(MAKE) $(AM_MAKEFLAGS) VERSION=$(patsubst v%,%,$(shell git describe --tags)) NODISTHOOK=1 dist -- 2.7.4