SHTOOLIZE.TMP(1)
π SHTOOLIZE.TMP(1) π
okay bestie, pull up a chair, we're reading the shtoolize page from the GNU Portable Shell Tool manual and it is lowkey iconic. no cap.
β¨ NAME β¨
shtoolize β build individual GNU shtool scripts. that's it. that's the whole job. she builds scripts. π
πΈ VERSION πΈ
GNU shtool 2.0.8 (18-Jul-2008) β yes she's a vintage queen and she still slays π
π¦ SYNOPSIS π¦
shtoolize [-h] [-v] [-q] [-o script] module [ module ... ]
like. she takes some flags, and then she takes modules, and she will keep taking modules until you stop typing them. greedy in the best way fr fr.
π DESCRIPTION π
so here's the tea: the shtoolize program builds individual GNU shtool scripts β written to the default output file shtool, or to whatever script you specified β out of one or more shtool ingredient modules. think of it like a build-your-own-bestie situation. you pick the modules, she assembles the script. β¨
the 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β Applysed(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
and THEN, bestie, there's a little bonus situation: a pseudo-module "all" which is basically a short-hand for:
"echo mdate table prop move install mkdir mkln mkshadow fixperm platform arx slo scpp version path"
which is to say, it builds a shtool script with all the modules in the standard order. an installed shtool is usually built this way via "shtoolize -o shtool all". one word, whole script, main character energy π
now, why would you even do this instead of just grabbing everything? because sometimes you want a smaller sized script and you genuinely don't need all of the available shtool functionality. the way that a classical Autoconf based free software package only needs, like, a tiny lil shtool script built via "shtoolize -o shtool install mkdir" β and honestly? that might be sufficient. minimalism is a vibe. πΏ
π OPTIONS π
the following command line options exist, and yes we're going through all of them:
-hβ Displays a short help page describing the usage of shtoolize. (she's helping! she's telling you how to use her!)-vβ Displays the version number of shtoolize/shtool. (identity check π )-qβ Displays no processing information. (quiet. mysterious. silent but slaying.)-oscript β Writes the output to file script instead to file"shtool". (custom filename, custom destiny β¨)
π EXAMPLE π
the typical free software package which is based on GNU libtool and GNU shtool uses a "Makefile" entry like the following:
# Makefile entry for upgrading GNU tools
upgrade-tools:
libtoolize -f -c
shtoolize -q all
this upgrades the three files "ltmain.sh", "ltconfig" and "shtool" in the current source tree to the latest versions. three files, one make target, absolutely ate π₯
π«Ά SEE ALSO π«Ά
π AUTHOR π
- Ralf S. Engelschall
- rse@engelschall.com
- www.engelschall.com
π friendly reminder that all the facts above are hers, not mine β I just put them in a cuter outfit. everything literal stays literal. periodt.
okay that's the whole page, bestie, and lemme just say β this is shtool 2.0.8, dated 18-Jul-2008, and the manual page is literally called SHTOOLIZE.TMP(1). vintage, but she still understood the assignment. mwah ππ¦πΈ
π¦ where this page comes from
- debian bookworm: shtool 2.0.8-10 Β· GPL-2.0-or-later
- debian trixie: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu jammy: shtool 2.0.8-10 Β· GPL-2.0-or-later
- ubuntu noble: shtool 2.0.8-10 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms