Till Wegmüller
2024-04-05 3f9136b3de67269afdd692eece3dc40814e6cbda
commit | author | age
e24028 1
RB 2 PKG_REPORTS=$(CANONICAL_MANIFESTS:%.p5m=$(BUILD_DIR)/%.pkg-report)
3
4 HGWEB_BASE_URL = http://userland.us.oracle.com/hg/file/tip/
5 ARIA_BASE_URL = http://people.us.oracle.com/pls/oracle/find_person?p_string=
6 ARC_BASE_URL = http://psarc.us.oracle.com/
7
8 REPORT_TRANSFORMS = $(WS_TOP)/transforms/report
9 CDIR=$(COMPONENT_DIR:$(WS_TOP)/%=%)
10
11 component-report:    $(BUILD_DIR)/component-report
12
13 $(BUILD_DIR)/component-report:    $(BUILD_DIR)/package-info
14     @echo "<tr>" >$@
15     @echo "<td><a href='$(COMPONENT_PROJECT_URL)'>$(COMPONENT_NAME)</a></td>" >>$@
16     @echo "<td><a href='$(COMPONENT_ARCHIVE_URL)'>$(COMPONENT_VERSION)</a></td>" >>$@
17     @echo "<td><a href='$(HGWEB_BASE_URL)$(CDIR)'>$(CDIR)</a></td>" >>$@
18     @echo "<td>" >>$@ ; for pkg in $(PACKAGE) ; do \
19              echo "$$pkg<br>" >>$@ ; \
20      done ; echo "</td>" >>$@
21     @echo "<td>" >>$@ ; for arc in $(ARC_CASE) ; do \
22              echo "<a href='$(ARC_BASE_URL)$$arc'>$$arc</a><br>" >>$@ ; \
23      done ; echo "</td>" >>$@
24     @echo "<td>" >>$@ ; for license in $(LICENSE) ; do \
25          echo "$$license<br>" >>$@ ; \
26      done ; echo "</td>" >>$@
4e25d0 27     @echo "<td>$(TPNO)</td>" >>$@
a93d79 28     @echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_ENGINEER)'>$(RESPONSIBLE_ENGINEER)</a></td>" >>$@
RB 29     @echo "<td><a href='$(ARIA_BASE_URL)$(RESPONSIBLE_MANAGER)'>$(RESPONSIBLE_MANAGER)</a></td>" >>$@
4bf613 30     @echo "<td>$(TEAM)</td>" >>$@
e24028 31     @echo "</tr>" >>$@
RB 32
33 $(BUILD_DIR)/package-info:    $(PKG_REPORTS)
34     @cat $(PKG_REPORTS) | sort -u >$@
35
36 $(BUILD_DIR)/component-info:    $(PKG_REPORTS)
37     @echo "COMPONENT_NAME=\"$(COMPONENT_NAME)\"" >$@
38     @echo "COMPONENT_VERSION=\"$(COMPONENT_VERSION)\"" >>$@
39     @echo "COMPONENT_PROJECT_URL=\"$(COMPONENT_PROJECT_URL)\"" >>$@
40     @echo "COMPONENT_ARCHIVE_URL=\"$(COMPONENT_ARCHIVE_URL)\"" >>$@
41     @echo "COMPONENT_DIR=\"$(CDIR)\"" >>$@
4e25d0 42     @echo "TPNO=\"$(TPNO)\"" >>$@
a93d79 43     @echo "RESPONSIBLE_ENGINEER=\"$(RESPONSIBLE_ENGINEER)\"" >>$@
RB 44     @echo "RESPONSIBLE_MANAGER=\"$(RESPONSIBLE_MANAGER)\"" >>$@
4bf613 45     @echo "TEAM=\"$(TEAM)\"" >>$@
e24028 46
RB 47 $(BUILD_DIR)/%.pkg-report:    %.p5m $(BUILD_DIR)
48     @$(PKGMOGRIFY) $(PKG_OPTIONS) -P $@ $< \
49         $(REPORT_TRANSFORMS) >/dev/null
50
51 include $(BUILD_DIR)/package-info