diff options
author | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-10-09 17:55:22 (GMT) |
---|---|---|
committer | Tobias Gruetzmacher <tobias-git@23.gs> | 2014-10-09 18:02:23 (GMT) |
commit | 3797d4eb036f08b349c457fc69ae625c8534409d (patch) | |
tree | a71a43889067d0df103a5cd0172edf39bf768525 /Makefile | |
parent | 2cf4af82fdeea6263369ce061d18ce53ef65e13b (diff) | |
download | mxe-3797d4eb036f08b349c457fc69ae625c8534409d.zip mxe-3797d4eb036f08b349c457fc69ae625c8534409d.tar.gz mxe-3797d4eb036f08b349c457fc69ae625c8534409d.tar.bz2 |
Make build matrix output a bit nicer.
This swithes the "Y" and "N" in the cells with nice symbols (✓ and ✗).
This also tries to shorten the cammand line a bit since this still runs
into "Argument list too long" errors on some systems...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -601,27 +601,29 @@ build-matrix.html: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk) @echo '</tr>' >> $@ @echo '</thead>' >> $@ @echo '<tbody>' >> $@ - @$(foreach PKG,$(PKGS), \ + @{ $(foreach PKG,$(PKGS), \ $(eval $(PKG)_VIRTUAL := $(true)) \ $(eval $(PKG)_BUILD_ONLY := $(true)) \ - echo '<tr>' >> $@; \ - echo '<th class="row">$(PKG)</th>' >> $@; \ + echo '<tr> \ + <th class="row">$(PKG)</th> \ $(foreach TARGET,$(MXE_TARGET_LIST), \ $(if $(value $(call LOOKUP_PKG_RULE,$(PKG),BUILD,$(TARGET))), \ $(eval $(TARGET)_PKGCOUNT := $(call inc,$($(TARGET)_PKGCOUNT))) \ $(eval $(PKG)_VIRTUAL := $(false)) \ $(eval $(PKG)_BUILD_ONLY := $(false)) \ - echo '<td class="supported">Y</td>' >> $@;, \ - echo '<td class="unsupported">N</td>' >> $@;)) \ + <td class="supported">✓</td>, \ + <td class="unsupported">✗</td>)) \ $(if $(call set_is_member,$(PKG),$(BUILD_PKGS)), \ $(eval BUILD_PKGCOUNT := $(call inc,$(BUILD_PKGCOUNT))) \ $(eval $(PKG)_VIRTUAL := $(false)) \ - echo '<td class="supported">Y</td>' >> $@;, \ - echo '<td class="unsupported">N</td>' >> $@;) \ + <td class="supported">✓</td>, \ + <td class="unsupported">✗</td>) \ + </tr>'; \ $(if $($(PKG)_VIRTUAL), \ $(eval VIRTUAL_PKGCOUNT := $(call inc,$(VIRTUAL_PKGCOUNT)))) \ $(if $($(PKG)_BUILD_ONLY), \ - $(eval BUILD_ONLY_PKGCOUNT := $(call inc,$(BUILD_ONLY_PKGCOUNT))))) + $(eval BUILD_ONLY_PKGCOUNT := $(call inc,$(BUILD_ONLY_PKGCOUNT))))) \ + } >> $@ @echo '<tr>' >> $@ @# TOTAL_PKGCOUNT = ( PKGS - VIRTUAL ) - BUILD_ONLY $(eval TOTAL_PKGCOUNT := \ |