diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-04-08 14:42:16 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-04-08 14:42:16 +0400 |
commit | 86632ef8ac793d54f1b9b2048a62c0d7134eaa0d (patch) | |
tree | a9ade7047ed4ecbca44e74b38093f7333fb08b8d | |
parent | ea33e78c3ced7148612cf5c2885badd4dcf187c1 (diff) | |
download | cibs-86632ef8ac793d54f1b9b2048a62c0d7134eaa0d.tar.gz |
Deprecate *.p5m.x
-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 "$@" |