]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installdebconf.1
r407: * suidmanager is obsolete now, and so is dh_suidmanager. Instead,
[debhelper.git] / dh_installdebconf.1
index 176d61aaf3f93d0dbe1fc2985fc28ac1d8fa9220..18ccf57bbeff13b1b4557eae5fe5b15a7f93b764 100644 (file)
@@ -8,18 +8,32 @@ dh_installdebconf \- install debconf files into package build directories
 dh_installdebconf is a debhelper program that is responsible for installing
 files used by the debconf package into package build directories.
 .P
-It also automatically generates the postrm commands needed to 
-interface with debconf. See 
+It also automatically generates the postrm commands needed to
+interface with debconf. See
 .BR dh_installdeb (1)
 for an explanation of how this works.
 .P
 Files named debian/package.config and debian/package.templates are installed
 into the DEBIAN directory in the package build directory.
 .P
-For the first first binary package listed in the control file, you may use
-debian/config and debian/templates instead.
-.P
 Note that if you use debconf, your package probably needs to depend on it.
+.SH "LOCALIZED TEMPLATE FILES"
+Debconf also supports localized template files, and this program has some
+support to aid working with them. You may find it easiest to keep the
+translations in separate files, and merge them only at build time. See
+.BR debconf-mergetemplate (1)
+for details.
+.P
+This program will automatically call
+.BR debconf-mergetemplate (1)
+and merge templates on the fly if it finds your template files are accompnied
+by translated files that have the same name as the template file, with a
+dot and two letters prepended.
+.P
+For example, if you have a German translation,
+debian/package.templates.de is merged with debian/package.templates.
+.P
+If you use this feature, your package should build-depend on debconf-utils.
 .SH OPTIONS
 .TP
 .B debhelper options