mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-27 04:53:27 +01:00
Merge branch 'Ansa89-trivial-fix'
This commit is contained in:
commit
f09002a49a
@ -1,10 +1,10 @@
|
|||||||
# Version
|
# Version
|
||||||
TOXIC_VERSION = 0.5.2
|
TOXIC_VERSION = 0.5.2
|
||||||
REV = $(shell if which git &>/dev/null ; then git rev-list HEAD --count 2>/dev/null || echo -n "error" ; else echo -n "error" ; fi)
|
REV = $(shell git rev-list HEAD --count 2>/dev/null || echo -n "error")
|
||||||
ifneq ($(REV), error)
|
ifneq (, $(findstring error, $(REV)))
|
||||||
VERSION = $(TOXIC_VERSION)_r$(REV)
|
|
||||||
else
|
|
||||||
VERSION = $(TOXIC_VERSION)
|
VERSION = $(TOXIC_VERSION)
|
||||||
|
else
|
||||||
|
VERSION = $(TOXIC_VERSION)_r$(REV)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Project directories
|
# Project directories
|
||||||
|
Loading…
Reference in New Issue
Block a user