Man Page

Manual Section... (1) - page: dh_installdebconf

 

NAME

dh_installdebconf - install files used by debconf in package build directories  

SYNOPSIS

dh_installdebconf [debhelper options] [-n] [-- params]  

DESCRIPTION

dh_installdebconf is a debhelper program that is responsible for installing files used by the debconf package into package build directories.

It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by dh_installdeb. See dh_installdeb(1) for an explanation of how that works.

Files named debian/package.config and debian/package.templates are installed into the DEBIAN directory in the package build directory. If a file named debian/package.config.debhelper exists, the contents of that file are merged into the config script as follows: If the script exists, then anywhere in it that ``#DEBHELPER#'' appears, the text of the .debhelper file is inserted. If the script does not exist, then a script is generated from the .debhelper file. The .debhelper files may be created by other debhelper programs, and are shell script fragments.

Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program).

Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not install this statement into postinst automatically as it it too hard to do it right.  

LOCALIZED TEMPLATE FILES

This program will look to see if you have a debian/po directory and if so will automatically call po2debconf(1) to generate a merged templates file containing the translations. For this to work, your package should build-depend on po-debconf.  

OPTIONS

-n, --noscripts
Do not modify postrm script.
-- params
Pass the params to po2debconf.
 

SEE ALSO

debhelper(7)

This program is a part of debhelper.  

AUTHOR

Joey Hess <joeyh@debian.org>


 

Index

NAME
SYNOPSIS
DESCRIPTION
LOCALIZED TEMPLATE FILES
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 15:26:06 GMT, June 11, 2010

Leave a Reply

You must be logged in to post a comment.