Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_installzope(1) [debian man page]

DH_INSTALLZOPE(1)						     Debhelper							 DH_INSTALLZOPE(1)

NAME
dh_installzope - install zope product and extension files into package build directories 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. NOTES
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. SEE ALSO
debhelper(7) This program is a part of zope-debhelper. AUTHOR
Matthias Klose <doko@ubuntu.com> Fabio Tranchitella <kobold@debian.org> 0.3.15 2011-06-21 DH_INSTALLZOPE(1)

Check Out this Related Man Page

DH_INSTALLEXAMPLES(1)						     Debhelper						     DH_INSTALLEXAMPLES(1)

NAME
dh_installexamples - install example files into package build directories SYNOPSIS
dh_installexamples [debhelperoptions] [-A] [-Xitem] [file...] DESCRIPTION
dh_installexamples is a debhelper program that is responsible for installing examples into usr/share/doc/package/examples in package build directories. From debhelper compatibility level 11 on, dh_install will fall back to looking in debian/tmp for files, if it does not find them in the current directory (or wherever you've told it to look using --sourcedir). FILES
debian/package.examples Lists example files or directories to be installed. OPTIONS
-A, --all Install any files specified by command line parameters in ALL packages acted on. --sourcedir=dir Look in the specified directory for files to be installed. This option requires compat 11 or later (it is silently ignored in compat 10 or earlier). Note that this is not the same as the --sourcedirectory option used by the dh_auto_* commands. You rarely need to use this option, since dh_installexamples automatically looks for files in debian/tmp in debhelper compatibility level 11 and above. --doc-main-package=main-package Set the main package for a documentation package. This is used to install the documentation of the documentation package in /usr/share/doc/main-package as recommended by the Debian policy manual 3.9.7 in S12.3. In compat 11 (or later), this option is only useful if debhelper's auto-detection of the main package is wrong. The option can also be used to silence a warning from debhelper when the auto-detection fails but the default happens to be correct. This option cannot be used when dh_installexamples is instructed to act on multiple packages. If you need this option, you will generally need to combine it with -p to ensure exactly one package is acted on. -Xitem, --exclude=item Exclude files that contain item anywhere in their filename from being installed. file ... Install these files (or directories) as examples into the first package acted on. (Or into all packages if -A is specified.) NOTES
Note that dh_installexamples will happily copy entire directory hierarchies if you ask it to (similar to cp -a). If it is asked to install a directory, it will install the complete contents of the directory. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLEXAMPLES(1)
Man Page