NAME¶
dh_phpcomposer - calculates PHP Composer substvars
SYNOPSIS¶
dh_phpcomposer [
debhelper options]
DESCRIPTION¶
dh_phpcomposer is a debhelper program that is responsible for generating
the
${phpcomposer:*} substitutions and adding them to substvars files.
The program will look for
composer.json file in your package root, and
will use this information to generate:
This feature requires pkg-php-tools (>= 1.7~).
- •
- ${phpcomposer:name} and
${phpcomposer:description}
- •
- ${phpcomposer:Debian-require},
${phpcomposer:Debian-require-dev},
${phpcomposer:Debian-conflict},
${phpcomposer:Debian-replace}, ${phpcomposer:Debian-provide}
and ${phpcomposer:Debian-suggest}
Those variables will be substituted into your package's
control file
wherever you place the token
${phpcomposer:*}.
FILES¶
- debian/pkg-php-tools-overrides
- Package that don't want to follow automatic Composer
package name to Debian package name conversion can override the conversion
by creating this file.
More information is available dh_phppear(1)
Debian policy, version 3.9.4
PHP PEAR policy, version yet-to-be-written
SEE ALSO¶
/usr/share/doc/pkg-php-tools/README.Composer,
pkg-php-tools(7)
debhelper(7) (Note: This program is not part of debhelper)
AUTHOR¶
Mathieu Parent <sathieu@debian.org>