Section: Debhelper Commands (1)
Updated: 20 August 2000
Return to Main Contents
dh_installdefoma - install a defoma related scripts
[debhelper options] [-n]
dh_installdefoma is a debhelper program that is responsible for installing
files related to defoma (DEbian FOnt MAnager) into package build directories. dh_installdefoma
can be used by defoma-aware packages and/or font packages using defoma.
It also automatically generates the postinst and pre/postrm commands needed to
register a package as a defoma-aware and/or font package using defoma. See
for an explanation of how this works.
If a file named debian/package.defoma exists, then it is installed into
usr/share/defoma/scripts/package.defoma in the package build directory and put
an un/registration method in maintainer scripts with defoma-app.
If a file named debian/package.defoma-hints exists, then it is installed in
etc/defoma/hints/package.hints in the package build
directory and put an un/registration method in maintainer scripts with defoma-font.
So when you create a defoma font package, what you need to do is
only to put its hints file in debian/package.defoma-hints and install font files written
in the hints file in the appropriate locations. When you create a defoma-aware
package, what you need to do is only to put its defoma-script file in
debian/package.defoma. The script file is automatically installed in the
package build directory.
- debhelper options
for a list of options common to all debhelper commands.
- -n, --noscripts
Do not modify postinst/postrm scripts.
for a list of environment variables that affect all debhelper commands.
Note that this command is not idempotent. "dh_clean -k" should be called
between invocations of this command. Otherwise, it may cause multiple
instances of the same text to be added to maintainer scripts.
Masato Taruishi <firstname.lastname@example.org>
- SEE ALSO
This document was created by
using the manual pages.