aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-29 15:45:15 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-29 15:45:15 +0400
commit395e7b51e815ca4001f99a13c5d0ad9e26954994 (patch)
treeeb3a545ad8e4eaefc397cf31b01d8f44f87b37ca /rules
parent8d8d44d7227868b0aeae30787c9901ebb63fec11 (diff)
downloadcibs-395e7b51e815ca4001f99a13c5d0ad9e26954994.tar.gz
deb-version
Diffstat (limited to 'rules')
-rw-r--r--rules/deb.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/deb.mk b/rules/deb.mk
index 15053f5..6783ae0 100644
--- a/rules/deb.mk
+++ b/rules/deb.mk
@@ -28,7 +28,8 @@ include /usr/share/cibs/rules/ips-manifest.mk
debmaker := /usr/share/cibs/scripts/debmaker.pl
-DEBVERSION ?= ips
+# Can be overriden in Makefile. Both.
+deb-version = $(ips-version)
pkg-define += -D COMPONENT_VERSION="$(ips-version)"
@@ -46,7 +47,7 @@ deb-stamp: pre-deb
[ -n "$(debsdir)" ]
[ -d "$(debsdir)" ] || mkdir -p "$(debsdir)"
$(root-cmd) $(debmaker) \
- -V "$(DEBVERSION)" \
+ -V "$(deb-version)" \
-S "$(name)" \
-O "$(debsdir)" \
$(pkg-define) \