mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk: Add MAJOR_MINOR_RELEASE and BUILD_NUMBER
This commit is contained in:
parent
1e4af4f9d4
commit
72cc630a83
1 changed files with 2 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue