1273N/APKG_REPORTS=$(CANONICAL_MANIFESTS:%.p5m=$(BUILD_DIR)/%.pkg-report)
1273N/ACDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
3662N/A# Add all the TPNO* Makefile macros together for further processing below.
3662N/A$(foreach macro, $(filter TPNO%, $(.VARIABLES)), \
3662N/A $(eval ALL_TPNOS += $$($(macro))) \
1273N/Acomponent-report: $(BUILD_DIR)/component-report
1273N/A$(BUILD_DIR)/component-report: $(BUILD_DIR)/package-info
1273N/A @echo "<td><a href='$(COMPONENT_PROJECT_URL)'>$(COMPONENT_NAME)</a></td>" >>$@
1273N/A @echo "<td><a href='$(COMPONENT_ARCHIVE_URL)'>$(COMPONENT_VERSION)</a></td>" >>$@
1273N/A @echo "<td><a href='$(HGWEB_BASE_URL)$(CDIR)'>$(CDIR)</a></td>" >>$@
1273N/A @echo "<td>" >>$@ ; for pkg in $(PACKAGE) ; do \
5298N/A @echo "<td>" >>$@ ; for arc in $(COMP_ARC_CASE) ; do \
1273N/A echo "<a href='$(ARC_BASE_URL)$$arc'>$$arc</a><br>" >>$@ ; \
1273N/A @echo "<td>" >>$@ ; for license in $(LICENSE) ; do \
1273N/A echo "$$license<br>" >>$@ ; \
3662N/A @echo "<td>" >>$@ ; for tpno in $(ALL_TPNOS) ; do \
1273N/A @echo "<td>" >>$@ ; for bugdb in $(COMPONENT_BUGDB) ; do \
1394N/A echo "<a href='$(BUGDB_URL)$$bugdb'>$$bugdb</a><br>" >>$@ ; \
1273N/A @echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>$@
1273N/A @echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>$@
1273N/A @echo "<td>$(TEAM)</td>" >>$@
1273N/A$(BUILD_DIR)/package-info: $(PKG_REPORTS)
1273N/A @cat $(PKG_REPORTS) | sort -u >$@
1273N/A$(BUILD_DIR)/component-info: $(PKG_REPORTS)
1273N/A @echo "COMPONENT_NAME=\"$(COMPONENT_NAME)\"" >$@
1273N/A @echo "COMPONENT_VERSION=\"$(COMPONENT_VERSION)\"" >>$@
1273N/A @echo "COMPONENT_PROJECT_URL=\"$(COMPONENT_PROJECT_URL)\"" >>$@
1273N/A @echo "COMPONENT_ARCHIVE_URL=\"$(COMPONENT_ARCHIVE_URL)\"" >>$@
1273N/A @echo "COMPONENT_DIR=\"$(CDIR)\"" >>$@
3662N/A @echo "TPNO=\"$(ALL_TPNOS)\"" >>$@
1273N/A @echo "COMPONENT_BUGDB=\"$(COMPONENT_BUGDB)\"" >>$@
1273N/A @echo "RESPONSIBLE_ENGINEER=\"$(RESPONSIBLE_ENGINEER)\"" >>$@
1273N/A @echo "RESPONSIBLE_MANAGER=\"$(RESPONSIBLE_MANAGER)\"" >>$@
1273N/A @echo "TEAM=\"$(TEAM)\"" >>$@
1273N/A$(BUILD_DIR)/%.pkg-report: %.p5m $(BUILD_DIR)
1273N/A @$(PKGMOGRIFY) $(PKG_OPTIONS) -P $@ $< \
1273N/Ainclude $(BUILD_DIR)/package-info