Changed intermediate version numbers to be git-style, eg 7.0.0-39 instead of 7.1.0-PRE

* Changed datastore modstate to be last in file, as prior to 7.0
This commit is contained in:
Olof hagsand 2024-05-08 16:51:12 +02:00
parent 8ebfdb8168
commit ca701b0c1a
17 changed files with 18 additions and 25 deletions

View file

@ -299,6 +299,7 @@ DATELEN = $(shell date +"%Y.%m.%d %H:%M by `whoami` on `hostname`XXXX"|wc -c)
build.c:
echo "/* This file is generated from the Clixon Makefile */" > $@;
date +"const char CLIXON_BUILDSTR[$(DATELEN)]=\"%Y.%m.%d %H:%M by `whoami` on `hostname`"\"\; >> $@;
echo "const char CLIXON_GITHASH[64]=\"$(shell git log --pretty="format:%(describe) %ci" -n1)\""\; >> $@;
echo "const char CLIXON_VERSION[64]=\"$(CLIXON_VERSION)\""\; >> $@;
# Note: will always be remade since GENOBS is date dependent