equal
deleted
inserted
replaced
28 |
28 |
29 IS_GLOBAL_ZONE = $(shell /usr/sbin/zoneadm list | grep -c global) |
29 IS_GLOBAL_ZONE = $(shell /usr/sbin/zoneadm list | grep -c global) |
30 ROOT = / |
30 ROOT = / |
31 |
31 |
32 # get the most recent build number from the last mercurial tag |
32 # get the most recent build number from the last mercurial tag |
33 LAST_HG_TAG = $(shell hg tags -q | head -2 | tail -1) |
33 LAST_HG_TAG = $(shell hg tags -q | grep build- | head -1) |
34 LAST_BUILD_NUM = $(LAST_HG_TAG:build-%=%) |
34 LAST_BUILD_NUM = $(LAST_HG_TAG:build-%=%) |
35 |
35 |
36 OS_VERSION = $(shell uname -r) |
36 OS_VERSION = $(shell uname -r) |
37 SOLARIS_VERSION = $(OS_VERSION:5.%=2.%) |
37 SOLARIS_VERSION = $(OS_VERSION:5.%=2.%) |
38 BUILD_NUM = 0.$(shell expr $(LAST_BUILD_NUM) + 1) |
38 BUILD_NUM = 0.$(shell expr $(LAST_BUILD_NUM) + 1) |