DH-EXEC-SUBST(1) | dh-exec | DH-EXEC-SUBST(1) |
dh-exec-subst - Debhelper executable file substition scripts
#! /usr/bin/dh-exec
src/libfoo-*.so.* debian/foo-plugins/usr/lib/foo/${DEB_HOST_MULTIARCH}/
Being a sub-command of dh-exec(1), this program must not be ran directly, but through dh-exec, which automatically runs all available sub-commands if run bare; or explicitly with dh-exec --with=subst.
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.
Introduced in version 0.1.
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).
Introduced in version 0.1.
DH_EXEC_SCRIPTDIR
$DH_EXEC_SCRIPTDIR/dh-exec-subst-*
The sub-command was introduced in dh-exec version 0.1.
dh-exec-subst is copyright © 2011-2015 by Software Freedom Conservancy, Inc.
2015-10-05 |