aboutsummaryrefslogtreecommitdiff
path: root/rules/ips-manifest.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/ips-manifest.mk')
-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 "$@"