From adef4bdb1233ecd2edcfd300dca20bf2533e68d8 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Tue, 10 Sep 2013 22:38:16 +0200 Subject: [PATCH] fix build problems when building out of sources --- coreapi/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/coreapi/Makefile.am b/coreapi/Makefile.am index 2059a9ff9..b6ed2ec32 100644 --- a/coreapi/Makefile.am +++ b/coreapi/Makefile.am @@ -1,8 +1,8 @@ GITVERSION_FILE=liblinphone_gitversion.h GITVERSION_FILE_TMP=liblinphone_gitversion.h.tmp -GITDESCRIBE=`git describe --always` -GIT_TAG=`git describe --abbrev=0` -GITREVISION=`git rev-parse HEAD` +GITDESCRIBE=`cd $(top_srcdir) && git describe --always` +GIT_TAG=`cd $(top_srcdir) && git describe --abbrev=0` +GITREVISION=`cd $(top_srcdir) && git rev-parse HEAD` ECHO=/bin/echo