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