defs.mk: Add MAJOR_MINOR_RELEASE and BUILD_NUMBER

This commit is contained in:
Jan Lindemann 2007-08-22 11:37:52 +00:00 committed by Jan Lindemann
commit 72cc630a83

View file

@ -35,6 +35,8 @@ DIST_VERSION = $(shell echo $(VERSION) | sed -e "s/-dev//")
DIST_WINVERSION = $(shell echo $(WINVERSION) | sed -e "s/-dev//")
LOCAL_DIST_VERSION = $(shell echo $(LOCAL_VERSION) | sed -e "s/-dev//")
LOCAL_DIST_WINVERSION = $(shell echo $(LOCAL_WINVERSION) | sed -e "s/-dev//")
MAJOR_MINOR_RELEASE = $(shell echo $(DIST_VERSION) | cut -d- -f1)
BUILD_NUMBER = $(shell echo $(DIST_VERSION) | cut -d- -f2)
# ----- input dirs
MOD_SCRIPT_DIR ?= $(firstword $(wildcard $(MODDIR)/devutil/scripts $(MODDIR)/bin))