[BUILD] centralize version and date into one file for each
authorWilly Tarreau <w@1wt.eu>
Sun, 9 Sep 2007 21:31:11 +0000 (23:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 9 Sep 2007 21:31:11 +0000 (23:31 +0200)
commitec69256382ecafb4fb8aa0c684fbda3c9a1b5be3
tree296f83b061accee89b86b859e7eed8eba3b7a3d8
parent031a26b4a7426fe764a4cebf1c2b522612e890f9
[BUILD] centralize version and date into one file for each

The version does not appear anymore in the Makefiles nor in
the include files. It was a nightmare to maintain. Now there
is a VERSION file which contains the major version, a VERDATE
file which contains the date for this version and a SUBVERS
file which may contain a sub-version.

A "make version" target has been added to all makefiles to
check the version. The GNU Makefile also has an update-version
target to update those files. This should never be used.

It is still possible to override those values by specifying
them in the equivalent make variables. By default, the GNU
makefile tries to detect a GIT repository and always uses the
version and date from the current repository. This can be
disabled by setting IGNOREGIT to a non-void value.
Makefile
Makefile.bsd
Makefile.osx
SUBVERS [new file with mode: 0644]
VERDATE [new file with mode: 0644]
VERSION [new file with mode: 0644]
include/common/version.h