dh_installzope - install zope product and extension files into package build
] [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
flags, it will be the first package specified by those flags.
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
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 automatically.
The substitution variable zope:Depends is replaced by a list of the available
- -n, --noscripts
- Do not modify postinst/prerm scripts.
- -Xitem, --exclude=item
- Exclude files that contain "item" anywhere in
their filename from being installed.
- directory ...
- Install these directories as products into the first
package acted on.
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 <product
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
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 <email@example.com> Fabio Tranchitella