diff --git a/docs/release-process.txt b/docs/release-process.txt
index 57867c1b4c..fe83f3da1c 100644
--- a/docs/release-process.txt
+++ b/docs/release-process.txt
@@ -9,7 +9,7 @@
github issue
MXE mailing list
use the following to check for new/changed requirements:
- http://htmlpreview.github.io/?https://raw.github.com/mxe/mxe/master/index.html
+ http://htmlpreview.github.io/?https://raw.github.com/mxe/mxe/master/docs/index.html
...
- Fast-forward the stable branch to master:
diff --git a/patch.mk b/patch.mk
index f31a73e123..d73fc0a705 100644
--- a/patch.mk
+++ b/patch.mk
@@ -63,14 +63,14 @@ init-git-%: download-only-%
$(if $(wildcard $(call GIT_DIR,$*)), \
$(error $(call GIT_DIR,$*) already exists), \
$(call INIT_GIT,$*)), \
- $(error Package $* not found in index.html))
+ $(error Package $* not found in docs/index.html))
import-patch-%:
$(if $(call set_is_member,$*,$(PKGS)), \
$(if $(wildcard $(call GIT_DIR,$*)), \
$(call IMPORT_PATCH,$*,$(call PATCH_BY_NAME,$*,$(PATCH_NAME))), \
$(error $(call GIT_DIR,$*) does not exist)), \
- $(error Package $* not found in index.html))
+ $(error Package $* not found in docs/index.html))
import-all-patches-%:
$(if $(call set_is_member,$*,$(PKGS)), \
@@ -78,11 +78,11 @@ import-all-patches-%:
$(foreach PKG_PATCH,$(call PKG_PATCHES,$*), \
$(call IMPORT_PATCH,$*,$(PKG_PATCH))), \
$(error $(call GIT_DIR,$*) does not exist)), \
- $(error Package $* not found in index.html))
+ $(error Package $* not found in docs/index.html))
export-patch-%:
$(if $(call set_is_member,$*,$(PKGS)), \
$(if $(wildcard $(call GIT_DIR,$*)), \
$(call EXPORT_PATCH,$*,$(PATCH_NAME)), \
$(error $(call GIT_DIR,$*) does not exist)), \
- $(error Package $* not found in index.html))
+ $(error Package $* not found in docs/index.html))
diff --git a/src/fdk-aac.mk b/src/fdk-aac.mk
index 7b29c68a90..3bee38a385 100644
--- a/src/fdk-aac.mk
+++ b/src/fdk-aac.mk
@@ -1,7 +1,7 @@
# This file is part of MXE. See LICENSE.md for licensing information.
# WARNING: Like openssl, the license of this package is not compatible with
-# GPL 2+, but it is with LGPL 2.1+. See index.html#potential-legal-issues
+# GPL 2+, but it is with LGPL 2.1+. See docs/index.html#potential-legal-issues
PKG := fdk-aac
$(PKG)_IGNORE :=
diff --git a/src/ffmpeg.mk b/src/ffmpeg.mk
index b6ad76e5ca..6c93efb1aa 100644
--- a/src/ffmpeg.mk
+++ b/src/ffmpeg.mk
@@ -15,7 +15,7 @@ $(PKG)_DEPS := gcc bzip2 gnutls lame libass libbluray libbs2b libcaca \
# DO NOT ADD fdk-aac OR openssl SUPPORT.
# Although they are free softwares, their licenses are not compatible with
# the GPL, and we'd like to enable GPL in our default ffmpeg build.
-# See index.html#potential-legal-issues
+# See docs/index.html#potential-legal-issues
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://ffmpeg.org/releases/' | \
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua
index 4954eb068b..2e7a52c4ce 100755
--- a/tools/build-pkg.lua
+++ b/tools/build-pkg.lua
@@ -975,7 +975,7 @@ local function makeDebs(items, item2deps, item2ver, item2files)
end
local function getMxeVersion()
- local index_html = io.open 'index.html'
+ local index_html = io.open 'docs/index.html'
local text = index_html:read('*all')
index_html:close()
return text:match('Release ([^<]+)')
@@ -1032,7 +1032,6 @@ local function makeMxeSourcePackage()
'README.md',
'docs',
'ext',
- 'index.html',
'src',
'plugins',
'tools',
diff --git a/tools/skeleton.py b/tools/skeleton.py
index 66e89e31b5..28a60a909a 100755
--- a/tools/skeleton.py
+++ b/tools/skeleton.py
@@ -128,7 +128,7 @@ def make_build(options, builder):
def update_index_html(name, description, website):
# read HTML and find a list of packages
- with open('index.html', 'rb') as f:
+ with open('docs/index.html', 'rb') as f:
index_html = f.read()
if not isinstance(index_html, str):
# Python 3
@@ -171,7 +171,7 @@ def update_index_html(name, description, website):
(_, tmp_index_html) = tempfile.mkstemp()
with open(tmp_index_html, 'wt') as f:
f.write(index_html)
- os.rename(tmp_index_html, 'index.html')
+ os.rename(tmp_index_html, 'docs/index.html')
def make_skeleton(
name,