mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 02:56:51 +00:00
[BUILD] version and date now come from the makefile
This commit is contained in:
parent
a69468af66
commit
79b34bfe0f
12
Makefile
12
Makefile
@ -2,7 +2,11 @@
|
|||||||
# You should use it this way :
|
# You should use it this way :
|
||||||
# make TARGET=os CPU=cpu
|
# make TARGET=os CPU=cpu
|
||||||
|
|
||||||
|
# Version of last tag
|
||||||
VERSION := 1.3.3
|
VERSION := 1.3.3
|
||||||
|
# number of changes since last tag
|
||||||
|
SUBVERS := -34
|
||||||
|
VERDATE := 2006/12/22
|
||||||
|
|
||||||
# Select target OS. TARGET must match a system for which COPTS and LIBS are
|
# Select target OS. TARGET must match a system for which COPTS and LIBS are
|
||||||
# correctly defined below.
|
# correctly defined below.
|
||||||
@ -137,6 +141,14 @@ ifneq ($(USE_REGPARM),)
|
|||||||
OPTIONS += -DCONFIG_HAP_USE_REGPARM
|
OPTIONS += -DCONFIG_HAP_USE_REGPARM
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(VERSION),)
|
||||||
|
OPTIONS += -DCONFIG_HAPROXY_VERSION=\"$(VERSION)$(SUBVERS)\"
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(VERDATE),)
|
||||||
|
OPTIONS += -DCONFIG_HAPROXY_DATE=\"$(VERDATE)\"
|
||||||
|
endif
|
||||||
|
|
||||||
#### end of build options
|
#### end of build options
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user