2003-03-19 02:40:19 +08:00
|
|
|
#######################################################################
|
|
|
|
##
|
|
|
|
## VERSIONING SEMANTICS
|
|
|
|
##
|
|
|
|
## Version consistes of <major> . <minor> . <release> - <revision>
|
|
|
|
## Where:
|
|
|
|
## major : Production (0 = pre-production)
|
|
|
|
## minor : 0-7 = Production minor, 8 = Alpha, 9 = Beta
|
|
|
|
## release : Release tag
|
|
|
|
## revision: Release revision - 0 = development (cutting edge).
|
|
|
|
##
|
|
|
|
##
|
|
|
|
## 'make version' will print the version with a
|
|
|
|
#######################################################################
|
|
|
|
version :
|
2006-03-02 23:26:12 +08:00
|
|
|
@if [ "$(VERSION_REVISION)" = "0" ]; then \
|
|
|
|
release=`date +%Y%m%d%H%M`; \
|
|
|
|
else \
|
|
|
|
release=$(VERSION_REVISION); \
|
|
|
|
fi; \
|
2003-03-19 02:40:19 +08:00
|
|
|
echo $(VERSION)-$$release;
|