NAME
installdeb-wordlist - debhelper-like utility for
maintainers of wordlist Debian packages
SYNOPSIS
installdeb-wordlist [debhelper options]
DESCRIPTION
installdeb-wordlist is a debhelper like program that is
responsible for installing appropriate debconf config and templates
files and debhelper snippets in
a wordlist package,
according to the Debian Spell Dictionaries and Tools Policy.
For more details, see
/usr/share/doc/dictionaries-common/dsdt-policy.txt.
The actions executed by installdeb-wordlist are the
following:
"Maintainer
installdeb-wordlist installs the necessary
scraps of code in the postinst and postrm scripts.
"Language
installdeb-wordlist also checks a file containing
wordlist information, called
debian/info-wordlist or
debian/package.info-wordlist. If this file is
successfully parsed, it is installed in the
[tmpdir]/var/lib/dictionaries-common directory.
"Debconf
installdeb-wordlist installs the Policy compliant
Debconf files from the information contained in the
info-wordlist file. These files are created as
debian/config (or debian/package.config) and debian/templates
(or debian/package.templates). No intervention is needed here,
since installdeb-wordlist will make a call to
dh_installdebconf(1).
If the package needs to have special code in the config file, the maintainer
should supply files called debian/config.in (or
debian/package.config.in). In the config.in file, the string
#DEBHELPER# must appear alone in one line and start at the first
column. installdeb-wordlist will replace that
token with the necessary Policy compliant code (this works with
config.in is either a Bourne shell or Perl script).
If the package needs to define its own questions via the templates
file the maintainer should either supply files debian/po-master.templates
(or debian/package.po-master.templates) together with the appropriate
po files if the package handles template localization through po-debconf,
or debian/templates.in (or debian/package.templates.in) otherwise.
See the po-debconf(7) manual page for more details and remember that the
master templates name is now different.
The templates defined in the templates.in or po-master.templates files
are merged into the Policy compliant templates by
installdeb-wordlist and a call to dh_installdebconf(1)
is internally done.
OPTIONS
The usual dephelper(1) options are accepted.
NOTES
This program is not part of debhelper, although it is intended to be used
in wordlist packages using debhelper in its
building.
SEE ALSO
debhelper(1)
This program is part of the dictionaries-common-dev package. It is
intended to be used by maintainers of ispell dictionaries and wordlist
packages for Debian. See the documentation under
/usr/share/doc/dictionaries-common-dev.
AUTHORS
Rafael Laboissiere