Provided by: dh-exec_0.2_amd64 bug

NAME

       dh-exec-subst - Debhelper executable file substition helpers

SYNOPSIS

       #! /usr/bin/dh-exec
       src/libfoo-*.so.* debian/foo-plugins/usr/lib/foo/${DEB_HOST_MULTIARCH}/

DESCRIPTION

       dh-exec-subst is a simple program, meant to be used as the interpreter for executable
       debhelper config files.

       It is a wrapper around the various other substitution helpers, and will pipe the input
       file through all the available substitution helpers. It is up to these scripts to do the
       actual work.

       When a helper fails to expand a variable within its input, it will leave it as-is, so that
       later in the pipeline it can perhaps be expanded by another program.

HELPERS

       dh-exec-subst-env
              Substitutes any of the available, exported environment variables into its input. It
              does not do any kind of filtering: whatever is available in the environment, will
              be available for substitution, however unsafe that may be.

       dh-exec-subst-multiarch
              Attempts to expand any of the variables known to dpkg-architecture(1), mostly
              useful for multi-arch support.

              The command will query dpkg-architecture(1) directly, and does not rely on
              environment variables set (as the called program will prefer already set
              environment variables anyway).

ENVIRONMENT

       DH_EXEC_SCRIPTDIR
           Indicates which directory the command-specific helpers should be sought for. If not
           specified, helpers will be searched for in /usr/share/dh-exec/.

FILES

       $DH_EXEC_SCRIPTDIR/dh-exec-subst-*
           The various helpers for the higher-level program.

SEE ALSO

       debhelper(1), dh-exec(1)

AUTHOR

       dh-exec-subst is copyright © 2011 by Gergely Nagy <algernon@madhouse-project.org>.

                                            2011-12-19                           DH-EXEC-SUBST(1)