aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules/ips-manifest.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/rules/ips-manifest.mk b/rules/ips-manifest.mk
index 66463af..ea0332c 100644
--- a/rules/ips-manifest.mk
+++ b/rules/ips-manifest.mk
@@ -74,7 +74,8 @@ $(transdir)/arch \
manifests-x := $(wildcard *.p5m.x)
manifests-generated += $(manifests-x:%.x=%)
%.p5m: %.p5m.x
- ./$< > $@
+ echo '# This file was generated by $<' > $@
+ ./$< >> $@
manifests-m4 := $(wildcard *.p5m.m4)
ifneq (,$(manifests-m4))
@@ -82,7 +83,8 @@ build-depends += gnu-m4
endif
manifests-generated += $(manifests-m4:%.m4=%)
%.p5m: %.p5m.m4
- gm4 $< > $@
+ echo '# This file was generated from $<' > $@
+ gm4 $< >> $@
manifests += $(manifests-generated)
generated-files += $(manifests-generated)