X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dh_installdebconf.1;h=18ccf57bbeff13b1b4557eae5fe5b15a7f93b764;hb=6b4abb3aacffc510aa200a24b748e0a130b756dd;hp=176d61aaf3f93d0dbe1fc2985fc28ac1d8fa9220;hpb=b94647e38f768cb0f5eff426fffc96ac7d70fd4a;p=debhelper.git diff --git a/dh_installdebconf.1 b/dh_installdebconf.1 index 176d61a..18ccf57 100644 --- a/dh_installdebconf.1 +++ b/dh_installdebconf.1 @@ -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