1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Make the build id thing work for out of tree builds

This commit is contained in:
Jonas Fonseca 2005-11-01 23:19:50 +01:00 committed by Jonas Fonseca
parent 37d43ef7c6
commit ffcee4532d

View File

@ -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)\""