1.4 branch build version

sayer/1.4-spce2.6
Stefan Sayer 14 years ago
parent 37fff618ec
commit d3b4db4f95

@ -3,20 +3,20 @@ else
makefile_defs=1
export makefile_defs
#GIT = $(shell which git)
#SVNVERSION = $(shell which svnversion)
#
#ifneq ($(GIT),)
# SCM_REV = $(shell if git --help describe |grep dirty 2>&1 >/dev/null ; \
# then git describe --always --dirty 2>/dev/null; \
# else git describe --always 2>/dev/null; fi)
#endif
#
#ifeq ($(SCM_REV),)
#ifneq ($(SVNVERSION),)
# SCM_REV = r$(shell svnversion -n .)
#endif
#endif
GIT = $(shell which git)
SVNVERSION = $(shell which svnversion)
ifneq ($(GIT),)
SCM_REV = $(shell if git --help describe |grep dirty 2>&1 >/dev/null ; \
then git describe --always --dirty 2>/dev/null; \
else git describe --always 2>/dev/null; fi)
endif
ifeq ($(SCM_REV),)
ifneq ($(SVNVERSION),)
SCM_REV = r$(shell svnversion -n .)
endif
endif
#version number
VERSION = 1

Loading…
Cancel
Save