make-rules/ips.mk
changeset 64 a4b12971cf99
parent 59 7500d63edb42
child 70 c610cf9d3d5d
--- a/make-rules/ips.mk	Mon Jan 24 16:29:04 2011 -0800
+++ b/make-rules/ips.mk	Wed Jan 26 13:22:43 2011 -0800
@@ -112,7 +112,8 @@
 $(GENERATED).p5m:	install
 	$(PKGSEND) generate $(PKG_HARDLINKS:%=--target %) $(PROTO_DIR) | \
 	$(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 $(GENERATE_TRANSFORMS) | \
-		sed -e '/^$$/d' -e '/^#.*$$/d' | $(PKGFMT) >[email protected]
+		sed -e '/^$$/d' -e '/^#.*$$/d' | $(PKGFMT) | \
+		cat $(METADATA_TEMPLATE) - >[email protected]
 
 # copy the canonical manifest(s) to the build tree
 $(MANIFEST_BASE)-%.generate:	%.p5m canonical-manifests