jdk/make/common/shared/Defs.gmk
changeset 307 18015b31ef73
parent 140 3d601b5affa3
child 312 b13547d8416e
equal deleted inserted replaced
306:d0cc9302b27e 307:18015b31ef73
   263 # FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
   263 # FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
   264 ifdef BUILD_NUMBER
   264 ifdef BUILD_NUMBER
   265   FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
   265   FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
   266 else
   266 else
   267   BUILD_NUMBER = b00
   267   BUILD_NUMBER = b00
   268   USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
   268   BUILD_DATE := $(shell $(DATE) '+%Y_%m_%d_%H_%M')
       
   269   CLEAN_USERNAME := $(shell $(ECHO) "$(USER)" | $(TR) -d -c '[:alnum:]')
       
   270   USER_RELEASE_SUFFIX := $(shell $(ECHO) "$(CLEAN_USERNAME)_$(BUILD_DATE)" | $(TR) '[:upper:]' '[:lower:]' )
   269   FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
   271   FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
   270 endif
   272 endif
   271 
   273 
   272 # Promoted build location
   274 # Promoted build location
   273 PROMOTED_RE_AREA = $(SLASH_JAVA)/re/jdk/$(JDK_VERSION)/promoted
   275 PROMOTED_RE_AREA = $(SLASH_JAVA)/re/jdk/$(JDK_VERSION)/promoted