mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-01 08:47:24 -04:00
Make the build id thing work for out of tree builds
This commit is contained in:
parent
37d43ef7c6
commit
ffcee4532d
@ -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)\""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user