dh_installzope - install zope product and extension files into package
dh_installzope [debhelper options] [-n] [-Xitem] [dir ...]
dh_installzope is a debhelper program that is responsible for
installing zope products and extensions into package build directories.
Directory names are interpreted as zope product names and will be
installed into the first package dh_installzope is told to act on. By
default, this is the first binary package in debian/control, but if you
use -p, -i, or -a flags, it will be the first package specified by
dh_installzope automatically installs debian/dzproduct and
debian/dzextension if it exists. If dh_installzope is acting on
multiple packages, debian/dzproduct and debian/dzextension files will
be installed into the first package. Use debian/package.dzproduct and
debian/package.dzextension for different binary packages.
If your package needs to register more than one product or extension,
you need multiple files. To accomplish this, you can use files named
debian/package.dzproduct.* and debian/package.dzextension.*
Missing dzproduct and dzextension files for the first package
dh_installzope is told to act on are generated and installed
The substitution variable zope:Depends is replaced by a list of the
available zope versions.
Do not modify postinst/prerm scripts.
Exclude files that contain "item" anywhere in their filename from
Install these directories as products into the first package acted
This is an example of a debian/package.dzproduct file:
ZopeVersions: 2.9 2.8
The Version field is added or updated by dh_installzope. If Name and
Directory match, the latter can be omitted. A deviating Directory is
used to install different product versions. A Directory has the form
It is possible to specify the list of zope versions for the 2.x serie
using a >= relation, like in this example:
ZopeVersions: >= 2.7
This allows bin-NMUs of zope products on new Zope 2.x major versions,
and for this reason it should be the preferred syntax.
Note that this command is not idempotent. "dh_clean -k" should be
called between invocations of this command. Otherwise, it may cause
multiple instances of the same text to be added to maintainer scripts.
This program is a part of zope-debhelper.
Matthias Klose <firstname.lastname@example.org> Fabio Tranchitella <email@example.com>