make-rules/ips.mk
changeset 76 a084497ff237
parent 75 1f81099246e8
child 84 b80cfd4e0a16
equal deleted inserted replaced
75:1f81099246e8 76:a084497ff237
    45 METADATA_TEMPLATE =		$(WS_TOP)/transforms/manifest-metadata-template
    45 METADATA_TEMPLATE =		$(WS_TOP)/transforms/manifest-metadata-template
    46 COPYRIGHT_TEMPLATE =		$(WS_TOP)/transforms/copyright-template
    46 COPYRIGHT_TEMPLATE =		$(WS_TOP)/transforms/copyright-template
    47 
    47 
    48 # order is important
    48 # order is important
    49 GENERATE_TRANSFORMS +=		$(WS_TOP)/transforms/generate-cleanup
    49 GENERATE_TRANSFORMS +=		$(WS_TOP)/transforms/generate-cleanup
    50 GENERATE_TRANSFORMS +=		$(WS_TOP)/transforms/variant.arch
       
    51 
    50 
    52 COMPARISON_TRANSFORMS +=	$(WS_TOP)/transforms/comparison-cleanup
    51 COMPARISON_TRANSFORMS +=	$(WS_TOP)/transforms/comparison-cleanup
    53 COMPARISON_TRANSFORMS +=	$(PKGMOGRIFY_TRANSFORMS)
    52 COMPARISON_TRANSFORMS +=	$(PKGMOGRIFY_TRANSFORMS)
    54 
    53 
    55 # order is important
    54 # order is important
   114 $(MANIFEST_BASE)-%.mogrified:	%.p5m canonical-manifests
   113 $(MANIFEST_BASE)-%.mogrified:	%.p5m canonical-manifests
   115 	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
   114 	$(PKGMOGRIFY) $(PKG_OPTIONS) $< \
   116 		$(PUBLISH_TRANSFORMS) | \
   115 		$(PUBLISH_TRANSFORMS) | \
   117 		sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >[email protected]
   116 		sed -e '/^$$/d' -e '/^#.*$$/d' | uniq >[email protected]
   118 
   117 
   119 # generate dependencies, drop variant.arch in set and depend actions because
   118 # generate dependencies
   120 # "pkgdepend resolve" fails when it's present.
       
   121 $(MANIFEST_BASE)-%.depend:	$(MANIFEST_BASE)-%.mogrified
   119 $(MANIFEST_BASE)-%.depend:	$(MANIFEST_BASE)-%.mogrified
   122 	$(PKGDEPEND) generate -m $< $(PROTO_DIR) >[email protected]
   120 	$(PKGDEPEND) generate -m $< $(PROTO_DIR) >[email protected]
   123 
   121 
   124 # resolve dependencies, prepend the mogrified manifest, less the unresolved
   122 # resolve dependencies, prepend the mogrified manifest, less the unresolved
   125 # dependencies to the result.
   123 # dependencies to the result.