aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-07-15 16:10:46 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-07-15 16:21:01 -0700
commit982211477ce6fe4e5ecaa1657be76df7a10dce08 (patch)
tree5eaac77a4c9923ccb2b328d2560e680597f3da23 /core
parentf50db05823739d6982afba17eeefa6bfa49b8523 (diff)
downloadsyslinux-elf-982211477ce6fe4e5ecaa1657be76df7a10dce08.tar.gz
syslinux-elf-982211477ce6fe4e5ecaa1657be76df7a10dce08.tar.xz
syslinux-elf-982211477ce6fe4e5ecaa1657be76df7a10dce08.zip
gen-id: only truncate tags starting with syslinux-<version>-
If git-describe comes up with a tag not starting with syslinux-<version>- then leave it as-is.
Diffstat (limited to 'core')
-rw-r--r--core/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile
index b81f052f..278d7afe 100644
--- a/core/Makefile
+++ b/core/Makefile
@@ -72,7 +72,7 @@ ifndef HEXDATE
HEXDATE := $(shell $(PERL) ../now.pl $(SRCS))
endif
ifndef DATE
-DATE := $(shell sh ../gen-id.sh $(HEXDATE))
+DATE := $(shell sh ../gen-id.sh $(VERSION) $(HEXDATE))
endif
all: $(BTARGET)