mv versions.json build-matrix.html assets docs/

See https://github.com/mxe/mxe/issues/1500
pull/1503/head
Boris Nagaev 8 years ago
parent d0e424038e
commit f5567f2c37

@ -2,7 +2,7 @@ language: c
sudo: false sudo: false
script: script:
- make build-matrix.html versions.json - make docs/build-matrix.html docs/versions.json
- if [ "$GH_TOKEN" != "" ]; then ./tools/travis-push.sh; fi - if [ "$GH_TOKEN" != "" ]; then ./tools/travis-push.sh; fi
- make download -j 6 -k - make download -j 6 -k

@ -757,7 +757,7 @@ cleanup-deps-style:
|| echo '*** Multi-line deps are mangled ***' && comm -3 tmp-$@-pre tmp-$@-post || echo '*** Multi-line deps are mangled ***' && comm -3 tmp-$@-pre tmp-$@-post
@rm -f $(TOP_DIR)/tmp-$@-* @rm -f $(TOP_DIR)/tmp-$@-*
build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES)) docs/build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
@echo '<!DOCTYPE html>' > $@ @echo '<!DOCTYPE html>' > $@
@echo '<html>' >> $@ @echo '<html>' >> $@
@echo '<head>' >> $@ @echo '<head>' >> $@
@ -849,8 +849,8 @@ build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
@echo '</body>' >> $@ @echo '</body>' >> $@
@echo '</html>' >> $@ @echo '</html>' >> $@
.PHONY: versions.json .PHONY: docs/versions.json
versions.json: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk) docs/versions.json: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
@echo '{' > $@ @echo '{' > $@
@{$(foreach PKG,$(PKGS), \ @{$(foreach PKG,$(PKGS), \
echo ' "$(PKG)": \ echo ' "$(PKG)": \

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 240 KiB

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 114 KiB

@ -6,7 +6,7 @@
<title>MXE (M cross environment)</title> <title>MXE (M cross environment)</title>
<link rel="stylesheet" href="assets/common.css"> <link rel="stylesheet" href="docs/assets/common.css">
</head> </head>
<body> <body>
@ -125,7 +125,7 @@
</table> </table>
<p> <p>
These numbers were last updated on December 16, 2015. These numbers were last updated on December 16, 2015.
See the <a href="build-matrix.html">current status</a> See the <a href="docs/build-matrix.html">current status</a>
for individual packages. for individual packages.
</p> </p>
<p> <p>
@ -147,15 +147,15 @@
Cross compiling Cross compiling
<a href="http://thebeez.home.xs4all.nl/4tH/">4tH</a>: <a href="http://thebeez.home.xs4all.nl/4tH/">4tH</a>:
</p> </p>
<a href="assets/screenshot-4th-compile.png"> <a href="docs/assets/screenshot-4th-compile.png">
<img src="assets/screenshot-4th-compile-small.png" alt="4th-compile"> <img src="docs/assets/screenshot-4th-compile-small.png" alt="4th-compile">
</a> </a>
<p> <p>
and running it: and running it:
</p> </p>
<a href="assets/screenshot-4th-run.png"> <a href="docs/assets/screenshot-4th-run.png">
<img src="assets/screenshot-4th-run-small.png" alt="4th-run"> <img src="docs/assets/screenshot-4th-run-small.png" alt="4th-run">
</a> </a>
</div> </div>
@ -1050,11 +1050,11 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
suitable for usage in shell scripts suitable for usage in shell scripts
</dd> </dd>
<dt>make build-matrix.html</dt> <dt>make docs/build-matrix.html</dt>
<dd> <dd>
generate a report of what packages are generate a report of what packages are
supported on what targets to build-matrix.html supported on what targets to docs/build-matrix.html
</dd> </dd>
<dt>make update</dt> <dt>make update</dt>
@ -2831,7 +2831,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
} }
function loadVersionCache(doneCallback, errCallback) { function loadVersionCache(doneCallback, errCallback) {
var request = new XMLHttpRequest(); var request = new XMLHttpRequest();
request.open('GET', 'versions.json', true); request.open('GET', 'docs/versions.json', true);
request.onreadystatechange = function reqCallback() { request.onreadystatechange = function reqCallback() {
if (request.readyState === 4) { if (request.readyState === 4) {
if (request.status === 200) { if (request.status === 200) {

@ -1030,14 +1030,12 @@ local function makeMxeSourcePackage()
'Makefile', 'Makefile',
'patch.mk', 'patch.mk',
'README.md', 'README.md',
'assets',
'docs', 'docs',
'ext', 'ext',
'index.html', 'index.html',
'src', 'src',
'plugins', 'plugins',
'tools', 'tools',
'versions.json',
} }
local d1 = "MXE source" local d1 = "MXE source"
local d2 = MXE_SOURCE_DESCRIPTION2 local d2 = MXE_SOURCE_DESCRIPTION2

@ -55,7 +55,7 @@ _mxe()
return 0 return 0
;; ;;
[!-]*) [!-]*)
pkgs+=" build-matrix.html \ pkgs+=" docs/build-matrix.html \
check-requirements \ check-requirements \
clean \ clean \
clean-junk \ clean-junk \

Loading…
Cancel
Save