Skip to content

Commit

Permalink
mv versions.json build-matrix.html assets docs/
Browse files Browse the repository at this point in the history
  • Loading branch information
starius committed Aug 27, 2016
1 parent d0e4240 commit f5567f2
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: c
sudo: false

script:
- make build-matrix.html versions.json
- make docs/build-matrix.html docs/versions.json
- if [ "$GH_TOKEN" != "" ]; then ./tools/travis-push.sh; fi
- make download -j 6 -k

Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ cleanup-deps-style:
|| echo '*** Multi-line deps are mangled ***' && comm -3 tmp-$@-pre tmp-$@-post
@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 '<html>' >> $@
@echo '<head>' >> $@
Expand Down Expand Up @@ -849,8 +849,8 @@ build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
@echo '</body>' >> $@
@echo '</html>' >> $@

.PHONY: versions.json
versions.json: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
.PHONY: docs/versions.json
docs/versions.json: $(foreach PKG,$(PKGS), $(TOP_DIR)/src/$(PKG).mk)
@echo '{' > $@
@{$(foreach PKG,$(PKGS), \
echo ' "$(PKG)": \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<title>MXE (M cross environment)</title>

<link rel="stylesheet" href="assets/common.css">
<link rel="stylesheet" href="docs/assets/common.css">

</head>
<body>
Expand Down Expand Up @@ -125,7 +125,7 @@ <h3>Supported Toolchains</h3>
</table>
<p>
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.
</p>
<p>
Expand All @@ -147,15 +147,15 @@ <h2 id="screenshots">Screenshots</h2>
Cross compiling
<a href="http://thebeez.home.xs4all.nl/4tH/">4tH</a>:
</p>
<a href="assets/screenshot-4th-compile.png">
<img src="assets/screenshot-4th-compile-small.png" alt="4th-compile">
<a href="docs/assets/screenshot-4th-compile.png">
<img src="docs/assets/screenshot-4th-compile-small.png" alt="4th-compile">
</a>

<p>
and running it:
</p>
<a href="assets/screenshot-4th-run.png">
<img src="assets/screenshot-4th-run-small.png" alt="4th-run">
<a href="docs/assets/screenshot-4th-run.png">
<img src="docs/assets/screenshot-4th-run-small.png" alt="4th-run">
</a>
</div>

Expand Down Expand Up @@ -1050,11 +1050,11 @@ <h2 id="usage">Usage</h2>
suitable for usage in shell scripts
</dd>

<dt>make build-matrix.html</dt>
<dt>make docs/build-matrix.html</dt>

<dd>
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>

<dt>make update</dt>
Expand Down Expand Up @@ -2831,7 +2831,7 @@ <h2 id="packages">List of Packages</h2>
}
function loadVersionCache(doneCallback, errCallback) {
var request = new XMLHttpRequest();
request.open('GET', 'versions.json', true);
request.open('GET', 'docs/versions.json', true);
request.onreadystatechange = function reqCallback() {
if (request.readyState === 4) {
if (request.status === 200) {
Expand Down
2 changes: 0 additions & 2 deletions tools/build-pkg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1030,14 +1030,12 @@ local function makeMxeSourcePackage()
'Makefile',
'patch.mk',
'README.md',
'assets',
'docs',
'ext',
'index.html',
'src',
'plugins',
'tools',
'versions.json',
}
local d1 = "MXE source"
local d2 = MXE_SOURCE_DESCRIPTION2
Expand Down
2 changes: 1 addition & 1 deletion tools/mxe-activate
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ _mxe()
return 0
;;
[!-]*)
pkgs+=" build-matrix.html \
pkgs+=" docs/build-matrix.html \
check-requirements \
clean \
clean-junk \
Expand Down

0 comments on commit f5567f2

Please sign in to comment.