SYNOPSIS
dh_installzope [debhelperĀ options] [-n] [-Xitem] [dirĀ ...]DESCRIPTION
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 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 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 automatically.
The substitution variable zope:Depends is replaced by a list of the available zope versions.
OPTIONS
- -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.
EXAMPLES
This is an example of a debian/package.dzproduct file:
Package: zope-cmfdefault1.4 Name: CMFDefault Directory: CMFDefault:1.4 Depends: CMFTopic:1.4 Version: 1.4.7-1 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 name>[:<suffix>].
It is possible to specify the list of zope versions for the 2.x serie using a >= relation, like in this example:
Package: zope-psycopgda 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.