NAME
dh-exec - Debhelper executable file helpersSYNOPSIS
#! /usr/bin/dh-execDESCRIPTION
dh-exec is a simple program, meant to be used as the interpreter for executable debhelper config files.FILTERING
In all dh-exec handled files, lines can be pre- or post-fixed with a list of architectures for which the rest of the line should apply to. All architectures and wildcards known by dpkg-architecture(1) are recognised, even negated ones.ARCHITECTURE
dh-exec is built up from three layers: there is the dh-exec utility, its single entry point, the only thing one will need to call.OPTIONS
- --with=command[,command ...]
- Replace the list of sub-commands to run the input through with a custom list (where entries are separated by whitespace or commas). This option will always replace the existing list with whatever is specified. This can be used to explicitly set which sub-commands to use. The list must not include the dh-exec- prefix. Defaults to subst,install.
- --without=command[,command ...]
- Inversely to the option above, this lists all the sub-commands which should not be used. The list must not include the dh-exec- prefix.
- --with-scripts=script[,script ...]
- Replace the list of scripts to run the input through with a custom list (where entries are separated by whitespace or commas). This option will always replace the existing list with whatever is specified. This can be used to explicitly specify which scripts to use, limiting even beyond what the --with option is capable of. The list must not include the dh-exec- prefix. By default it is empty, meaning there is no filtering done, and whatever scripts the sub-commands find, will be run.
- --no-act
- Do not really do anything, but print the pipeline that would have been run instead.
- --list
- List the available sub-commands and scripts, grouped by sub-command.
- --help, --version
- Display a short help or the package version, respectively.
SUB-COMMANDS
- dh-exec-subst
- Substitutes various variables (either from the environment, or from dpkg-architecture(1)).
- dh-exec-filter
- Filters the input in various ways (architecture restrictions, build profiles, and so on).
- dh-exec-install
- An extension to dh_install(1), that supports renaming files during the copy process, using a special syntax.
ENVIRONMENT
DH_EXEC_LIBDIRThe directory in which the wrapped
sub-commands reside. Defaults to /usr/lib/dh-exec/.
The directory in which the scripts that do the
heavy work live. Defaults to /usr/share/dh-exec/.
FILES
$DH_EXEC_LIBDIR/dh-exec-*The various sub-commands.
The various scripts ran by the
sub-commands.
SEE ALSO
debhelper(1), dh-exec-subst(1), dh-exec-filter(1), dh-exec-install(1)AUTHOR
dh-exec is copyright © 2011-2015 by Software Freedom Conservancy, Inc.2015-10-05 |