aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2013-04-08 14:42:16 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2013-04-08 14:42:16 +0400
commit86632ef8ac793d54f1b9b2048a62c0d7134eaa0d (patch)
treea9ade7047ed4ecbca44e74b38093f7333fb08b8d /rules
parentea33e78c3ced7148612cf5c2885badd4dcf187c1 (diff)
downloadcibs-86632ef8ac793d54f1b9b2048a62c0d7134eaa0d.tar.gz
Deprecate *.p5m.x
Diffstat (limited to 'rules')
-rw-r--r--rules/ips-manifest.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules/ips-manifest.mk b/rules/ips-manifest.mk
index 3bea4be..6774154 100644
--- a/rules/ips-manifest.mk
+++ b/rules/ips-manifest.mk
@@ -75,8 +75,16 @@ $(transdir)/arch \
# Manifest generators:
manifests-x := $(wildcard *.p5m.x)
ifneq (,$(manifests-x))
+$(warning *.p5m.x files are deprecated because of similarity to RPCGEN sources)
manifests-generated += $(manifests-x:%.x=%)
endif
+manifests-gen := $(wildcard *.p5m.gen)
+ifneq (,$(manifests-gen))
+manifests-generated += $(manifests-gen:%.gen=%)
+endif
+%.p5m: %.p5m.gen
+ (echo '# This file was generated by "$<"' > "$@" && \
+ env $(env) "./$<" >> "$@") || rm "$@"
%.p5m: %.p5m.x
(echo '# This file was generated by "$<"' > "$@" && \
env $(env) "./$<" >> "$@") || rm "$@"