aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-26 11:06:04 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-26 11:06:04 +0400
commit32c4576478363eb0b47ccc2a77333d149879e1a6 (patch)
tree0bbe98b36c3336dce4893196a91534d4163f0273 /rules
parent73d7cc0cc80b0c58bfebd2c8c036a9a892dac138 (diff)
downloadcibs-32c4576478363eb0b47ccc2a77333d149879e1a6.tar.gz
ips-version can be defined in Makefile
Diffstat (limited to 'rules')
-rw-r--r--rules/ips.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index f0f082e..0cdf7ea 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -29,10 +29,8 @@ include /usr/share/cibs/rules/common.mk
manifestdir := $(workdir)/manifest
transdir := /usr/share/cibs/trans
-# TODO: rewrite
-ifeq (,$(ips-version))
+# Default, can be overriden in Makefile. See next lines.
ips-version = $(version)
-endif
# Substitutions in IPS manifest:
makefile-vars := $(shell sed -n 's/^ *\([a-zA-Z][-_0-9a-zA-Z]*\) *[:?]*=.*$$/\1/p' Makefile | sort -u)