summaryrefslogtreecommitdiffhomepage
path: root/etc/build.usage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 18:40:13 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-10 18:40:13 +0000
commit19ab706dac37932341aa743c982dd4cca9df4636 (patch)
treeed0d97e117fbc2548e147afc07550d5c49627556 /etc/build.usage
parent49dcd021ff436d28307fedfb1270ba662fa765eb (diff)
downloadmidipix_build-19ab706dac37932341aa743c982dd4cca9df4636.tar.bz2
midipix_build-19ab706dac37932341aa743c982dd4cca9df4636.tar.xz
etc/build.usage, subr/build_args.subr: adds -C build[,dest[,src]] (clean subdirs) and -p (create package tarballs).
subr/pkg_clean.subr: given -C, clean build, dest, and/or src. subr/pkg_install.subr: given -p, create gzip(1)-compressed package tarball at ${PKG_BASE_DIR}/${PKG_NAME}.tgz. vars/env.vars:${DEFAULT_BUILD_STEPS}: adds `clean' post-install.
Diffstat (limited to 'etc/build.usage')
-rw-r--r--etc/build.usage12
1 files changed, 8 insertions, 4 deletions
diff --git a/etc/build.usage b/etc/build.usage
index 3267d2a1..97aeb23a 100644
--- a/etc/build.usage
+++ b/etc/build.usage
@@ -1,13 +1,17 @@
-usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release]
- [-c] [-h] [-N] [-P [jobs]] [-r ALL[:step,..]]
- [-r name[,..][:step,..]] [-R] [-t[.gz|.bz2|.xz]
- [-v[v[v]]] [-x] [<target>[ ..]]
+usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release]
+ [-c] [-C dir[,..]] [-h] [-N] [-P [jobs]]
+ [-r ALL[:step,..]] [-r name[,..][:step,..]]
+ [-R] [-t[.gz|.bz2|.xz] [-v[v[v]]] [-x] [<target>[ ..]]
-4|-6 Force IPv[46] when downloading files.
-a nt32|nt64 Selects 32-bit or 64-bit architecture; defaults to nt64.
-b debug|release Selects debug or release build; defaults to debug.
-c Clean ${PREFIX} before processing build scripts.
+ -C dir[,..] Clean build directory (build,) source directory (src,) and/or
+ destination directory (dest) after successful package builds;
+ excludes -t, but may be passed alongside -p.
-h Show this screen.
-N Offline mode: no {wget,git-{clone,pull}}(1) calls.
+ -p Create package tarballs; excludes -t.
-P [jobs] Enables parallelisation at target-level, whenever applicable.
The maximum count of jobs defaults to the number of logical
processors on the host system.