summaryrefslogtreecommitdiff
path: root/dh_installxfonts.1
diff options
context:
space:
mode:
authorjoey <joey>1999-10-24 23:19:28 +0000
committerjoey <joey>1999-10-24 23:19:28 +0000
commit85ad35770e541b848bf2954424879318da797b84 (patch)
treee1d2f48403055868092bd2abf0f4bc20d8a3e0f3 /dh_installxfonts.1
parentc134395d8d42e8c3dcf16875b84edb1ed28025a4 (diff)
r294: * Fixed problem with dh_installemacsen options not working, patch from
Rafael Laboissiere <rafael@icp.inpg.fr>, Closes: #47738 * Added new dh_installxfonts script by Changwoo Ryu <cwryu@dor17988.kaist.ac.kr>. Closes: #46684 I made some changes, though: - I rewrote lots of this script to be more my style of perl. - I removed all the verbisity from the postinst script fragment, since that is a clear violation of policy. - I made the postinst fail if the mkfontdir, etc commands fail, because this really makes more sense. Consider idempotency. - I moved the test to see if the font dir is really a directory into the dh_ script and out of the snippet. If the maintainer plays tricks on us, mkfontdir will blow up satisfactorally anyway. - So, the snippet is 9 lines long now, down from 20-some. - I realize this isn't following the reccommendations made in Brandon's font policy. I'll fight it out with him. :-) - In postrm fragment, used rmdir -p to remove as many parent directories as I can. - s:/usr/lib/X11/:/usr/X11R6/lib/X11/:g
Diffstat (limited to 'dh_installxfonts.1')
-rw-r--r--dh_installxfonts.143
1 files changed, 43 insertions, 0 deletions
diff --git a/dh_installxfonts.1 b/dh_installxfonts.1
new file mode 100644
index 00000000..464fd8fb
--- /dev/null
+++ b/dh_installxfonts.1
@@ -0,0 +1,43 @@
+.TH DH_INSTALLXFONTS 1 "" "Debhelper Commands" "Debhelper Commands"
+.SH NAME
+dh_installxfonts \- register X fonts
+.SH SYNOPSIS
+.B dh_installxfonts
+.I "[debhelper options]"
+.SH "DESCRIPTION"
+dh_installxfonts is a debhelper program that is responsible for
+registering X fonts, so their corresponding fonts.dir, fonts.alias,
+and fonts.scale be rebuilt properly at install time.
+.P
+Before calling this program, you should have installed any X fonts
+provided by your package into the appropriate location in the package build
+directory. Also, your package should depend on xbase-clients (>= 3.3.3.1-5).
+.P
+It automatically generates the postinst and postrm commands needed to
+register X fonts. See
+.BR dh_installdeb (1)
+for an explanation of how this works.
+.SH OPTIONS
+.TP
+.B debhelper options
+See
+.BR debhelper (1)
+for a list of options common to all debhelper commands.
+.SH NOTES
+See
+.BR update-fonts-alias (8)
+,
+.BR update-fonts-scale (8)
+and
+.BR mkfontdir (1x)
+for more information about X font installation.
+.SH ENVIRONMENT
+See
+.BR debhelper (1)
+for a list of environment variables that affect all debhelper commands.
+.SH "SEE ALSO"
+.BR debhelper (1)
+.BR update-fonts-alias (8)
+.BR update-fonts-scale (8)
+.SH AUTHOR
+Changwoo Ryu <cwryu@debian.org>