make-rules/ips.mk
changeset 64 a4b12971cf99
parent 59 7500d63edb42
child 70 c610cf9d3d5d
equal deleted inserted replaced
63:7d2e9f451dff 64:a4b12971cf99
   110 sample-manifest:	$(GENERATED).p5m
   110 sample-manifest:	$(GENERATED).p5m
   111 
   111 
   112 $(GENERATED).p5m:	install
   112 $(GENERATED).p5m:	install
   113 	$(PKGSEND) generate $(PKG_HARDLINKS:%=--target %) $(PROTO_DIR) | \
   113 	$(PKGSEND) generate $(PKG_HARDLINKS:%=--target %) $(PROTO_DIR) | \
   114 	$(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 $(GENERATE_TRANSFORMS) | \
   114 	$(PKGMOGRIFY) $(PKG_OPTIONS) /dev/fd/0 $(GENERATE_TRANSFORMS) | \
   115 		sed -e '/^$$/d' -e '/^#.*$$/d' | $(PKGFMT) >$@
   115 		sed -e '/^$$/d' -e '/^#.*$$/d' | $(PKGFMT) | \
       
   116 		cat $(METADATA_TEMPLATE) - >$@
   116 
   117 
   117 # copy the canonical manifest(s) to the build tree
   118 # copy the canonical manifest(s) to the build tree
   118 $(MANIFEST_BASE)-%.generate:	%.p5m canonical-manifests
   119 $(MANIFEST_BASE)-%.generate:	%.p5m canonical-manifests
   119 	cat $(METADATA_TEMPLATE) $< >$@
   120 	cat $(METADATA_TEMPLATE) $< >$@
   120 
   121