From d93b591dc59d6a7d0bc4467971055f1b65f60c7f Mon Sep 17 00:00:00 2001 From: philsmd Date: Mon, 6 Nov 2017 13:00:05 +0100 Subject: [PATCH] cosmetic: updated comment about VERSION_EXPORT --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index c25fc8896..2f5ef2e2f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -125,7 +125,7 @@ COMPTIME := $(shell date +%s) # the following variable value will be automatically replaced by the "git archive" command # (which is automatically run for every github release) -# the value will be something like this: "tag: vX.Y.Z, refs/pull/Y/head" +# the value will be something like this: "tag: vX.Y.Z, refs/pull/K/head" or "HEAD -> master, tag: vX.Y.Z" VERSION_EXPORT := $Format:%D$ VERSION_TAG := $(shell test -d .git && git describe --tags --dirty=+ || echo "$(VERSION_EXPORT)" | $(SED) 's/.*: v\([\.0-9]*\).*/v\1/')