build: add new version mechanism based on VERSION file and a version.sh script

If this is a git checkout, and git is available, then git describe is
used. Otherwise, the new checked in VERSION file is taken for the version.

This mechanism uses a version.sh script inspired by
http://git.musl-libc.org/cgit/musl/tree/tools/version.sh

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Michael Adam committed 2018-09-05 00:56:31 +02:00
1 parent a662c11b8d
commit 9f4ed46c0a
5 files changed
+24 -11

No files matched your search

+1
View File
@@ -0,0 +1 @@
1.10.0