diff options
-rwxr-xr-x | cibs.p5m.gen (renamed from cibs.p5m.x) | 0 | ||||
-rw-r--r-- | rules/ips-manifest.mk | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/cibs.p5m.x b/cibs.p5m.gen index 93ce326..93ce326 100755 --- a/cibs.p5m.x +++ b/cibs.p5m.gen 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 "$@" |