mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
make: minor cleanup
This commit is contained in:
committed by
Frans de Jonge
parent
a4400b3ccb
commit
3f8f87d294
2
Makefile
2
Makefile
@@ -9,7 +9,7 @@ KOR_BASE?=base
|
||||
VERSION:=$(shell git describe HEAD)
|
||||
# Only append date if we're not on a whole version, like v2018.11
|
||||
ifneq (,$(findstring -,$(VERSION)))
|
||||
VERSION:=$(VERSION)_$(shell git describe HEAD | xargs git show -s --format=format:"%cd" --date=short)
|
||||
VERSION:=$(VERSION)_$(shell git show -s --format=format:"%cd" --date=short HEAD)
|
||||
endif
|
||||
|
||||
# releases do not contain tests and misc data
|
||||
|
||||
Reference in New Issue
Block a user