dh_gentdeb(1)

dh_gentdeb1

Build debian tdeb translation packages

Usage

dh_gentdeb [debhelper options]

Overview

dh_gentdeb prepares localisation content for a debian Tdeb package.

Only the -p debhelper option is handled by dh_gentdeb.

Overview

dh_gentdeb is a debhelper add-on created by Emdebian to create translation packages (tdebs). dh_gentdeb is intended to separate out the individual translation files from the current Debian packages into packages without any translation files and a single TDeb package, one per source package.

If a second tdeb is supported by one source package, the $srcpackage-tdeb package must contain any debconf templates used by any of the binary packages. The second tdeb is then used for translations of optional content.

Once a package uses dh_gentdeb, translation files must be removed from all packages in the normal build. This includes all translated manpages and other translated content. Original, untranslated, content should remain.

dh_gentdeb runs as a part of the normal package build - simply add the call to the binary-indep target of debian/rules, usually after dh_install and before dh_builddeb. dh_gentdeb handles locating the relevant files, a .install file is not normally necessary.

Support for a tdeb diff1.gz will be added as dh_gentdeb develops. The extra diff is used by translators to build updated or new tdeb packages. Tdeb packages depend on the source:Version of the mainpackage but no packages may depend upon the tdeb. (Not even other TDebs). The mainpackage can be specified using the -p option.

Use of diff1.gz should remove the need to create a customised source with a debian/rules stub etc. by allowing Emdebian TDebs to be created during an Emdebian build and Debian TDebs in a Debian build. Translators would then be able to use:

Options

The default action is to process all available po files and all identifiable translated content.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

Author

Neil Williams <[email protected]>

From emdebian-tdeb 3.0.7 in Debian 7 (Wheezy). Parsed by carta from the page's man source.