summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Nagaev <bnagaev@gmail.com>2016-08-22 20:07:21 (GMT)
committerBoris Nagaev <bnagaev@gmail.com>2016-08-27 09:31:30 (GMT)
commitf5567f2c37ad9cbbf0b31d08a166aa70a326d6e4 (patch)
tree903268a634d0de05024694158cc624290291b8dc
parentd0e424038e16a928527588f3d7626f57d34fd486 (diff)
downloadmxe-f5567f2c37ad9cbbf0b31d08a166aa70a326d6e4.zip
mxe-f5567f2c37ad9cbbf0b31d08a166aa70a326d6e4.tar.gz
mxe-f5567f2c37ad9cbbf0b31d08a166aa70a326d6e4.tar.bz2
mv versions.json build-matrix.html assets docs/
See https://github.com/mxe/mxe/issues/1500
-rw-r--r--.travis.yml2
-rw-r--r--Makefile6
-rw-r--r--docs/assets/build-matrix.css (renamed from assets/build-matrix.css)0
-rw-r--r--docs/assets/common.css (renamed from assets/common.css)0
-rw-r--r--docs/assets/screenshot-4th-compile-small.png (renamed from assets/screenshot-4th-compile-small.png)bin26624 -> 26624 bytes
-rw-r--r--docs/assets/screenshot-4th-compile.png (renamed from assets/screenshot-4th-compile.png)bin245761 -> 245761 bytes
-rw-r--r--docs/assets/screenshot-4th-run-small.png (renamed from assets/screenshot-4th-run-small.png)bin11071 -> 11071 bytes
-rw-r--r--docs/assets/screenshot-4th-run.png (renamed from assets/screenshot-4th-run.png)bin116723 -> 116723 bytes
-rw-r--r--docs/build-matrix.html (renamed from build-matrix.html)0
-rw-r--r--docs/versions.json (renamed from versions.json)0
-rw-r--r--index.html18
-rwxr-xr-xtools/build-pkg.lua2
-rw-r--r--tools/mxe-activate2
13 files changed, 14 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml
index f730d44..2d79cd7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
diff --git a/Makefile b/Makefile
index 8084b23..3fce112 100644
--- a/Makefile
+++ b/Makefile
@@ -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>' >> $@
@@ -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)": \
diff --git a/assets/build-matrix.css b/docs/assets/build-matrix.css
index 49850b6..49850b6 100644
--- a/assets/build-matrix.css
+++ b/docs/assets/build-matrix.css
diff --git a/assets/common.css b/docs/assets/common.css
index da6a1f6..da6a1f6 100644
--- a/assets/common.css
+++ b/docs/assets/common.css
diff --git a/assets/screenshot-4th-compile-small.png b/docs/assets/screenshot-4th-compile-small.png
index 8ba7b33..8ba7b33 100644
--- a/assets/screenshot-4th-compile-small.png
+++ b/docs/assets/screenshot-4th-compile-small.png
Binary files differ
diff --git a/assets/screenshot-4th-compile.png b/docs/assets/screenshot-4th-compile.png
index 4aa3ed4..4aa3ed4 100644
--- a/assets/screenshot-4th-compile.png
+++ b/docs/assets/screenshot-4th-compile.png
Binary files differ
diff --git a/assets/screenshot-4th-run-small.png b/docs/assets/screenshot-4th-run-small.png
index f6ece44..f6ece44 100644
--- a/assets/screenshot-4th-run-small.png
+++ b/docs/assets/screenshot-4th-run-small.png
Binary files differ
diff --git a/assets/screenshot-4th-run.png b/docs/assets/screenshot-4th-run.png
index 6159a3a..6159a3a 100644
--- a/assets/screenshot-4th-run.png
+++ b/docs/assets/screenshot-4th-run.png
Binary files differ
diff --git a/build-matrix.html b/docs/build-matrix.html
index 579e480..579e480 100644
--- a/build-matrix.html
+++ b/docs/build-matrix.html
diff --git a/versions.json b/docs/versions.json
index f851ed5..f851ed5 100644
--- a/versions.json
+++ b/docs/versions.json
diff --git a/index.html b/index.html
index aa0a560..f71bba8 100644
--- a/index.html
+++ b/index.html
@@ -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>
@@ -125,7 +125,7 @@
</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>
@@ -147,15 +147,15 @@
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>
@@ -1050,11 +1050,11 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
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>
@@ -2831,7 +2831,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
}
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) {
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua
index 8ec32c8..4954eb0 100755
--- a/tools/build-pkg.lua
+++ b/tools/build-pkg.lua
@@ -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
diff --git a/tools/mxe-activate b/tools/mxe-activate
index 45c35dd..82bfe11 100644
--- a/tools/mxe-activate
+++ b/tools/mxe-activate
@@ -55,7 +55,7 @@ _mxe()
return 0
;;
[!-]*)
- pkgs+=" build-matrix.html \
+ pkgs+=" docs/build-matrix.html \
check-requirements \
clean \
clean-junk \