Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dh_cligacpolicy(1) [debian man page]

DH_CLIGACPOLICY(1)				Debhelper for CLI (Common Language Infrastructure)				DH_CLIGACPOLICY(1)

NAME
dh_cligacpolicy - creates and installs a CLI policy file for a package SYNOPSIS
dh_cligacpolicy [debhelper options] [-n] DESCRIPTION
dh_cligacpolicy is a debhelper program that is responsible for creating, compiling, and installing policy files for a Debian package. This automatically includes postinst and prerm commands needed to install these policies into the system. OPTIONS
-n, --noscripts Do not modify postinst/prerm scripts. FILE FORMAT
This file uses the debian/cligacpolicy files (either policyassemblies or debian/packagename.cligacpolicy) to generate the policy file. It supports multiple versions of the policy, including mapping multiple versions to a single file. The file format of the cligacpolicy file consists of five properties per line, each one separated by whitespace. Keyfile is a path, from the package root, to the .snk file =used to sign the assembly. Assembly is the name of the assembly, without the .dll =extension. For example, for log4net.dll, use log4net. Version Range can be a single four-part version, such as =1.2.3.4, or a full range, such as 1.2.3.4-1.2.6.7. For a single line, =the first two numbers must be identical. To have an assembly apply to =multiple versions, such as 1.2.0.0 to 2.4.0.0, there needs to be one =line for each version range. Assembly version is the version of the assembly being =built. Priority defines the priority of the policy files. =Typically, each version will increase the priority and =contains all the policy controls for prior versions. The fields can be separated with spaces or tabs. Comments start the line with # characters and blank lines are ignored. 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. EXAMPLE
For the log4net 1.2.10.0 version, a policy file is used to map all versions from 1.2.8.0 to 1.2.9.99 into the current version. debian/log4net.snk log4net 1.2.8.0-1.2.9.99 1.2.10.0 10 SEE ALSO
debhelper(7) This program is a part of cli-common-dev. AUTHOR
Dylan R. E. Moonfire <debian@mfgames.com> POD ERRORS
Hey! The above document had some coding errors, which are explained below: Around line 31: You forgot a '=back' before '=head1' perl v5.14.2 2012-01-17 DH_CLIGACPOLICY(1)

Check Out this Related Man Page

DH_INSTALLEMACSEN(1)						     Debhelper						      DH_INSTALLEMACSEN(1)

NAME
dh_installemacsen - register an Emacs add on package SYNOPSIS
dh_installemacsen [debhelperoptions] [-n] [--priority=n] [--flavor=foo] DESCRIPTION
dh_installemacsen is a debhelper program that is responsible for installing files used by the Debian emacsen-common package into package build directories. It also automatically generates the preinst postinst and prerm commands needed to register a package as an Emacs add on package. The commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how this works. FILES
debian/package.emacsen-compat Installed into usr/lib/emacsen-common/packages/compat/package in the package build directory. debian/package.emacsen-install Installed into usr/lib/emacsen-common/packages/install/package in the package build directory. debian/package.emacsen-remove Installed into usr/lib/emacsen-common/packages/remove/package in the package build directory. debian/package.emacsen-startup Installed into etc/emacs/site-start.d/50package.el in the package build directory. Use --priority to use a different priority than 50. OPTIONS
-n, --no-scripts Do not modify postinst/prerm scripts. --priority=n Sets the priority number of a site-start.d file. Default is 50. --flavor=foo Sets the flavor a site-start.d file will be installed in. Default is emacs, alternatives include xemacs and emacs20. NOTES
Note that this command is not idempotent. dh_prep(1) 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) "usr/share/doc/emacsen-common/debian-emacs-policy.gz" This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 11.1.6ubuntu2 2018-05-10 DH_INSTALLEMACSEN(1)
Man Page