diff options
Diffstat (limited to 'rules')
-rw-r--r-- | rules/deb.mk | 5 |
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) \ |