diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build-pkg.lua | 3 | ||||
-rwxr-xr-x | tools/skeleton.py | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 4954eb0..2e7a52c 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 66e89e3..28a60a9 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, |