summaryrefslogtreecommitdiffstats
path: root/tools/build-pkg.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build-pkg.lua')
-rwxr-xr-xtools/build-pkg.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua
index a2e1242..1f12146 100755
--- a/tools/build-pkg.lua
+++ b/tools/build-pkg.lua
@@ -1,8 +1,7 @@
#!/usr/bin/env lua
--[[
-This file is part of MXE.
-See index.html for further information.
+This file is part of MXE. See LICENSE.md for licensing information.
build-pkg, Build binary packages from MXE packages
Instructions: http://pkg.mxe.cc
@@ -976,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 ([^<]+)')
@@ -1026,19 +1025,15 @@ local function makeMxeSourcePackage()
-- dependencies
local deps = {}
local files = {
- 'CNAME',
'LICENSE.md',
'Makefile',
'patch.mk',
'README.md',
- 'assets',
- 'doc',
+ 'docs',
'ext',
- 'index.html',
'src',
'plugins',
'tools',
- 'versions.json',
}
local d1 = "MXE source"
local d2 = MXE_SOURCE_DESCRIPTION2