aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-10-01 13:43:37 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-10-01 13:43:37 +0400
commit027ce37825afe3ac81d7ac039eb539a67d50ec2b (patch)
tree8208489b624c701ae91265f51a012eb943b4ccce /rules
parentf4140bc5435dffb27064df5a98b33f6d0d1b9595 (diff)
downloadcibs-027ce37825afe3ac81d7ac039eb539a67d50ec2b.tar.gz
IPS manifests generators: ./XXX.p5m.x > ./XXX.p5m
Diffstat (limited to 'rules')
-rw-r--r--rules/ips.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/ips.mk b/rules/ips.mk
index 8d7184e..f59ddd0 100644
--- a/rules/ips.mk
+++ b/rules/ips.mk
@@ -72,6 +72,12 @@ $(transdir)/arch \
# Supplied canonical manifests:
manifests := $(wildcard *.p5m)
+# Manifest generators:
+manifests-x := $(wildcard *.p5m.x)
+manifests += $(manifests-x:%.x=%)
+%.p5m: %.p5m.x
+ ./$< > $@
+
#TODO: Expand "glob" action in manifests:
globalizator := /usr/share/cibs/scripts/globalizator
glob-manifests := $(manifests:%=$(manifestdir)/glob-%)