diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-09-27 10:40:23 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-09-27 10:40:23 (GMT) |
commit | 4a741cf319b5df11e747a2090ebf9af990201017 (patch) | |
tree | da2610bc6fa1e9085a4e89dc3293037c6e4d8098 | |
parent | c53691cff612e6e5c7878a79b3757ad6ccb952bd (diff) | |
download | mxe-4a741cf319b5df11e747a2090ebf9af990201017.zip mxe-4a741cf319b5df11e747a2090ebf9af990201017.tar.gz mxe-4a741cf319b5df11e747a2090ebf9af990201017.tar.bz2 |
build-pkg: use --[[ ... ]] syntax for long comment
-rwxr-xr-x | tools/build-pkg.lua | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/tools/build-pkg.lua b/tools/build-pkg.lua index 91c324a..3a7e1a4 100755 --- a/tools/build-pkg.lua +++ b/tools/build-pkg.lua @@ -1,27 +1,29 @@ #!/usr/bin/env lua --- This file is part of MXE. --- See index.html for further information. +--[[ +This file is part of MXE. +See index.html for further information. --- build-pkg, Build binary packages from MXE packages --- Instructions: http://mxe.redjohn.tk +build-pkg, Build binary packages from MXE packages +Instructions: http://mxe.redjohn.tk --- Requirements: MXE, lua, tsort, fakeroot, dpkg-deb. --- Usage: lua tools/build-pkg.lua --- Packages are written to `*.tar.xz` files. --- Debian packages are written to `*.deb` files. +Requirements: MXE, lua, tsort, fakeroot, dpkg-deb. +Usage: lua tools/build-pkg.lua +Packages are written to `*.tar.xz` files. +Debian packages are written to `*.deb` files. --- Build in directory /usr/lib/mxe --- This directory can not be changed in .deb packages --- To change this directory, set environment variable --- MXE_DIR to other directory. +Build in directory /usr/lib/mxe +This directory can not be changed in .deb packages +To change this directory, set environment variable +MXE_DIR to other directory. --- To prevent build-pkg from creating deb packages, --- set environment variable MXE_NO_DEBS to 1 --- In this case fakeroot and dpkg-deb are not needed. +To prevent build-pkg from creating deb packages, +set environment variable MXE_NO_DEBS to 1 +In this case fakeroot and dpkg-deb are not needed. --- To limit number of packages being built to x, --- set environment variable MXE_MAX_PACKAGES to x, +To limit number of packages being built to x, +set environment variable MXE_MAX_PACKAGES to x, +]] local max_packages = tonumber(os.getenv('MXE_MAX_PACKAGES')) local no_debs = os.getenv('MXE_NO_DEBS') |