NAME
shtoolize - Build individual GNU shtool scripts
VERSION
GNU shtool .0.8 (18-Jul-2008)
SYNOPSIS
shtoolize [-h] [-v] [-q] [-o script] module [ module ... ]
DESCRIPTION
The shtoolize program builds individual GNU shtool scripts (written to the default output file "shtool" or to the specified script) out of one or more shtool ingredient modules. Available modules are:
echo Print string with optional construct expansionmdate Pretty-print modification time of a file or dirtable Pretty print a field-separated list as a tableprop Display progress with a running propellermove Move files with simultan substitutioninstall Install a program, script or datafilemkdir Make one or more directoriesmkln Make link with calculation of relative pathsmkshadow Make a shadow treefixperm Fix file permissions inside a source treerotate Rotate a logfiletarball Roll distribution tarballssubst Apply sed(1) substitution operationsplatform Platform identification utilityarx Extended archive commandslo Separate linker options by library classscpp Sharing C Pre-Processorversion Generate and maintain a version information filepath Deal with program paths
Additionally there is a pseudo-module ``"all"'' which can be used as a short-hand for ``"echo mdate table prop move install mkdir mkln mkshadow fixperm platform arx slo scpp version path"'', i.e. to build a shtool script with all modules in the standard order. An installed shtool is usually built this way via ``"shtoolize -o shtool all"''.
Use the shtoolize program to build individual shtool scripts in case you want a smaller sized script and you don't need all of the available shtool functionality. For instance for the classical Autoconf based free software package a "shtool" script build via ``"shtoolize -o shtool install mkdir"'' might be sufficient.
OPTIONS
The following command line options exist:
- -h
-
Displays a short help page describing the usage of shtoolize.
- -v
-
Displays the version number of shtoolize/shtool.
- -q
-
Displays no processing information.
- -o script
-
Writes the output to file script instead to file ``
"shtool"''.
EXAMPLE
The typical free software package which is based on GNU libtool and GNU shtool one uses a "Makefile" entry like the following:
# Makefile entry for upgrading GNU toolsupgrade-tools:libtoolize -f -cshtoolize -q all
This upgrades the three files "ltmain.sh", "ltconfig" and "shtool" in the current source tree to the latest versions.
SEE ALSO
AUTHOR
Ralf S. Engelschall[email protected]www.engelschall.com