From ffcee4532d4dfc8bc09f75740fde2ba459c3994c Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 1 Nov 2005 23:19:50 +0100 Subject: [PATCH] Make the build id thing work for out of tree builds --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 622421f5..729dbd86 100644 --- a/src/Makefile +++ b/src/Makefile @@ -28,7 +28,7 @@ SUBDIRS = \ # Get the GIT HEAD ID if possible ifdef CG_COMMIT_ID -BUILD_ID=$(shell $(CG_COMMIT_ID) 2> /dev/null) +BUILD_ID=$(shell GIT_DIR=$(top_srcdir)/.git $(CG_COMMIT_ID) 2> /dev/null) endif INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\"" -- 2.11.4.GIT