1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

Fix building when commit-id is not found

This commit is contained in:
Jonas Fonseca 2005-09-17 16:21:35 +02:00 committed by Jonas Fonseca
parent 9921e58aba
commit 150beefabb

View File

@ -85,8 +85,9 @@ ELINKSLIBS = \
# Get the GIT HEAD ID if possible
ifdef COMMIT_ID
INCLUDES += -DBUILD_ID="\"$$($(COMMIT_ID) 2> /dev/null)\""
BUILD_ID=$(shell $(COMMIT_ID) 2> /dev/null)
endif
INCLUDES += -DBUILD_ID="\"$(BUILD_ID)\""
OBJS = vernum.o
vernum.o: FORCE