summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2012-01-26 11:29:46 -0500
committerGaetan Nadon <memsize@videotron.ca>2012-01-26 21:11:15 -0500
commita68aacc0fb2d2d8ae0d907e0343f684ca58ba4c0 (patch)
tree3b772b828ed4a942310b776ee53bb47b55dc1a65
parent116f6703fe951b1a15367fbbdb5df7a34afec5a7 (diff)
Format cleanup of help output
Miscellaneous cleanups of the help text that is printed. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rwxr-xr-xbuild.sh31
1 files changed, 19 insertions, 12 deletions
diff --git a/build.sh b/build.sh
index 5878ef1..9068f29 100755
--- a/build.sh
+++ b/build.sh
@@ -20,7 +20,8 @@ Environment variables specific to build.sh:
Each module/components is invoked with --datadir
LIBDIR Install object code libraries [EPREFIX/lib]
Each module/components is invoked with --libdir
- LOCALSTATEDIR Modifiable single-machine data [PREFIX/var]
+ LOCALSTATEDIR
+ Modifiable single-machine data [PREFIX/var]
Each module/components is invoked with --localstatedir
QUIET Do not print messages saying which checks are being made
Each module/components is invoked with --quite
@@ -33,7 +34,7 @@ Environment variables defined by the GNU Build System:
ACLOCAL The aclocal cmd name [aclocal -I \${DESTDIR}/\${DATADIR}/aclocal]
DESTDIR Path to the staging area where installed objects are relocated
MAKE The name of the make command [make]
- MAKEFLAGS: Options to pass to all \$(MAKE) invocations
+ MAKEFLAGS Options to pass to all \$(MAKE) invocations
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
@@ -47,13 +48,15 @@ Environment variables defined by the shell:
\$DESTDIR/\$BINDIR is prepended
Environment variables defined by the dynamic linker:
- LD_LIBRARY_PATH List directories that the linker searches for shared objects
- \$DESTDIR/\$LIBDIR is prepended
+ LD_LIBRARY_PATH
+ List directories that the linker searches for shared objects
+ \$DESTDIR/\$LIBDIR is prepended
Environment variables defined by the pkg-config system:
- PKG_CONFIG_PATH List directories that pkg-config searches for libraries
- \$DESTDIR/\$DATADIR/pkgconfig and
- \$DESTDIR/\$LIBDIR/pkgconfig are prepended
+ PKG_CONFIG_PATH
+ List directories that pkg-config searches for libraries
+ \$DESTDIR/\$DATADIR/pkgconfig and
+ \$DESTDIR/\$LIBDIR/pkgconfig are prepended
EOF
}
@@ -1052,22 +1055,26 @@ usage() {
echo " -g Compile and link with debug information"
echo " -h, --help Display this help and exit successfully"
echo " -n Do not quit after error; just print error message"
- echo " -o <module/component> Build just this <module/component>"
+ echo " -o <module/component>"
+ echo " Build just this <module/component>"
echo " -p Update source code before building (git pull --rebase)"
echo " -s <sudo> The command name providing superuser privilege"
- echo " --autoresume <file> Append module being built to, and autoresume from, <file>"
+ echo " --autoresume <file>"
+ echo " Append module being built to, and autoresume from, <file>"
echo " --check Run make check in addition \"all install\""
echo " --clone Clone non-existing repositories (uses \$GITROOT if set)"
echo " --cmd <cmd> Execute arbitrary git, gmake, or make command <cmd>"
- echo " --confflags <options> Pass <options> to autgen.sh/configure of all modules"
- echo " --modfile <file> Only process the module/components specified in <file>"
+ echo " --confflags <options>"
+ echo " Pass <options> to autgen.sh/configure of all modules"
+ echo " --modfile <file>"
+ echo " Only process the module/components specified in <file>"
echo " Any text after, and on the same line as, the module/component"
echo " is assumed to be configuration options for the configuration"
echo " of each module/component specifically"
echo " --retry-v1 Remake 'all' on failure with Automake silent rules disabled"
echo ""
echo "Usage: $basename -L"
- echo " -L : just list modules to build"
+ echo " -L Just list modules to build"
echo ""
envoptions
}