diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2013-01-18 15:44:02 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2013-01-18 15:45:17 +0400 |
commit | 902901f8a0d4b4a83c436bc350f936d129fcda7c (patch) | |
tree | 06b906e390f830f299b4c8c64acb5ddd6a7cb221 /rules | |
parent | f1ca0524a6203fa0318ec3dcf380be1310f96fcb (diff) | |
download | cibs-902901f8a0d4b4a83c436bc350f936d129fcda7c.tar.gz |
Allow arbitrary env vars for manifest generators
Diffstat (limited to 'rules')
-rw-r--r-- | rules/ips-manifest.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/ips-manifest.mk b/rules/ips-manifest.mk index 1714a33..d2b2907 100644 --- a/rules/ips-manifest.mk +++ b/rules/ips-manifest.mk @@ -76,8 +76,8 @@ ifneq (,$(manifests-x)) manifests-generated += $(manifests-x:%.x=%) endif %.p5m: %.p5m.x - echo '# This file was generated by $<' > $@ - ./$< >> $@ + (echo '# This file was generated by "$<"' > "$@" && \ + env $(env) "./$<" >> "$@") || rm "$@" manifests-m4 := $(wildcard *.p5m.m4) ifneq (,$(manifests-m4)) |