aboutsummaryrefslogtreecommitdiff
path: root/rules/deb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/deb.mk')
-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) \