empserver/src/lib/player
Markus Armbruster 5e1b590867 Make: Support shallow git clones for testing
Since commit 1ec9b94, we derive the version number from git tags with
build-aux/git-version-gen.  When a shallow clone doesn't include a
suitable tag, this fails, and make refuses to build anything.  Since
Travis uses git-clone --depth=50, it'll break as soon as we've got
more than 50 commits since the last release.

Support arbitrarily shallow clones for limited purposes like testing
by falling back from a proper V.N-H version number to UNKNOWN-H.

To guard against use of such builds for other purposes, log a warning
on server startup, and print one on player login.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2017-09-02 17:51:37 +02:00
..
accept.c Update copyright notice 2017-08-07 09:38:32 +02:00
dispatch.c Spell BTU and ETU consistently 2017-08-07 10:08:31 +02:00
empdis.c Expand a few unnecessary abbreviations in output text 2017-08-07 10:08:31 +02:00
empmod.c Update copyright notice 2017-08-07 09:38:32 +02:00
init_nats.c Update copyright notice 2017-08-07 09:38:32 +02:00
login.c Update copyright notice 2017-08-07 09:38:32 +02:00
nat.c Update copyright notice 2017-08-07 09:38:32 +02:00
player.c Make: Support shallow git clones for testing 2017-09-02 17:51:37 +02:00
recvclient.c Update copyright notice 2017-08-07 09:38:32 +02:00