aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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-%)