make-rules/component-report
changeset 2140 ba3091d7e9b6
parent 1139 2fe2a52488cb
child 4336 e0e4b5ad6cb9
equal deleted inserted replaced
2139:127c47823841 2140:ba3091d7e9b6
     6 ARC_BASE_URL = http://psarc.us.oracle.com/
     6 ARC_BASE_URL = http://psarc.us.oracle.com/
     7 BUGDB_URL = http://userland.us.oracle.com/bugdb?cat-subcat=
     7 BUGDB_URL = http://userland.us.oracle.com/bugdb?cat-subcat=
     8 
     8 
     9 REPORT_TRANSFORMS = $(WS_TOP)/transforms/report
     9 REPORT_TRANSFORMS = $(WS_TOP)/transforms/report
    10 CDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
    10 CDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
       
    11 
       
    12 # Add all the TPNO* Makefile macros together for further processing below.
       
    13 $(foreach macro, $(filter TPNO%, $(.VARIABLES)), \
       
    14     $(eval ALL_TPNOS += $$($(macro))) \
       
    15 )
    11 
    16 
    12 component-report:	$(BUILD_DIR)/component-report
    17 component-report:	$(BUILD_DIR)/component-report
    13 
    18 
    14 $(BUILD_DIR)/component-report:	$(BUILD_DIR)/package-info
    19 $(BUILD_DIR)/component-report:	$(BUILD_DIR)/package-info
    15 	@echo "<tr>" >[email protected]
    20 	@echo "<tr>" >[email protected]
    23              echo "<a href='$(ARC_BASE_URL)$$arc'>$$arc</a><br>" >>[email protected] ; \
    28              echo "<a href='$(ARC_BASE_URL)$$arc'>$$arc</a><br>" >>[email protected] ; \
    24 	 done ; echo "</td>" >>[email protected]
    29 	 done ; echo "</td>" >>[email protected]
    25 	@echo "<td>" >>[email protected] ; for license in $(LICENSE) ; do \
    30 	@echo "<td>" >>[email protected] ; for license in $(LICENSE) ; do \
    26 	     echo "$$license<br>" >>[email protected] ; \
    31 	     echo "$$license<br>" >>[email protected] ; \
    27 	 done ; echo "</td>" >>[email protected]
    32 	 done ; echo "</td>" >>[email protected]
    28 	@echo "<td>$(TPNO)</td>" >>[email protected]
    33 	@echo "<td>" >>[email protected] ; for tpno in $(ALL_TPNOS) ; do \
       
    34 	     echo "$${tpno}<br>" >>[email protected] ; \
       
    35 	 done ; echo "</td>" >>[email protected]
    29 	@echo "<td>" >>[email protected] ; for bugdb in $(COMPONENT_BUGDB) ; do \
    36 	@echo "<td>" >>[email protected] ; for bugdb in $(COMPONENT_BUGDB) ; do \
    30 	     echo "<a href='$(BUGDB_URL)$$bugdb'>$$bugdb</a><br>" >>[email protected] ; \
    37 	     echo "<a href='$(BUGDB_URL)$$bugdb'>$$bugdb</a><br>" >>[email protected] ; \
    31 	 done ; echo "</td>" >>[email protected]
    38 	 done ; echo "</td>" >>[email protected]
    32 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>[email protected]
    39 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>[email protected]
    33 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>[email protected]
    40 	@echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>[email protected]
    41 	@echo "COMPONENT_NAME=\"$(COMPONENT_NAME)\"" >[email protected]
    48 	@echo "COMPONENT_NAME=\"$(COMPONENT_NAME)\"" >[email protected]
    42 	@echo "COMPONENT_VERSION=\"$(COMPONENT_VERSION)\"" >>[email protected]
    49 	@echo "COMPONENT_VERSION=\"$(COMPONENT_VERSION)\"" >>[email protected]
    43 	@echo "COMPONENT_PROJECT_URL=\"$(COMPONENT_PROJECT_URL)\"" >>[email protected]
    50 	@echo "COMPONENT_PROJECT_URL=\"$(COMPONENT_PROJECT_URL)\"" >>[email protected]
    44 	@echo "COMPONENT_ARCHIVE_URL=\"$(COMPONENT_ARCHIVE_URL)\"" >>[email protected]
    51 	@echo "COMPONENT_ARCHIVE_URL=\"$(COMPONENT_ARCHIVE_URL)\"" >>[email protected]
    45 	@echo "COMPONENT_DIR=\"$(CDIR)\"" >>[email protected]
    52 	@echo "COMPONENT_DIR=\"$(CDIR)\"" >>[email protected]
    46 	@echo "TPNO=\"$(TPNO)\"" >>[email protected]
    53 	@echo "TPNO=\"$(ALL_TPNOS)\"" >>[email protected]
    47 	@echo "COMPONENT_BUGDB=\"$(COMPONENT_BUGDB)\"" >>[email protected]
    54 	@echo "COMPONENT_BUGDB=\"$(COMPONENT_BUGDB)\"" >>[email protected]
    48 	@echo "RESPONSIBLE_ENGINEER=\"$(RESPONSIBLE_ENGINEER)\"" >>[email protected]
    55 	@echo "RESPONSIBLE_ENGINEER=\"$(RESPONSIBLE_ENGINEER)\"" >>[email protected]
    49 	@echo "RESPONSIBLE_MANAGER=\"$(RESPONSIBLE_MANAGER)\"" >>[email protected]
    56 	@echo "RESPONSIBLE_MANAGER=\"$(RESPONSIBLE_MANAGER)\"" >>[email protected]
    50 	@echo "TEAM=\"$(TEAM)\"" >>[email protected]
    57 	@echo "TEAM=\"$(TEAM)\"" >>[email protected]
    51 
    58