]> git.donarmstrong.com Git - debhelper.git/blob - dh_installemacsen.1
r429: tweaks
[debhelper.git] / dh_installemacsen.1
1 .TH DH_INSTALLEMACSEN 1 "" "Debhelper Commands" "Debhelper Commands"
2 .SH NAME
3 dh_installemacsen \- register an emacs add on package
4 .SH SYNOPSIS
5 .B dh_installemacsen
6 .I "[debhelper options] [-n] [--priority=n] [--flavor=foo]"
7 .SH "DESCRIPTION"
8 dh_installemacsen is a debhelper program that is responsible for installing
9 files used by the debian emacsen-common package into package build directories.
10 .P
11 It also automatically generates the postinst and prerm commands needed to
12 register a package as an emacs add on package. See
13 .BR dh_installdeb (1)
14 for an explanation of how this works.
15 .P
16 If a file named debian/package.emacsen-install exists, then it is installed into
17 usr/lib/emacsen-common/packages/install/package in the package build
18 directory. Similarly, debian/package.emacsen-remove is installed into
19 usr/lib/emacsen-common/packages/remove/package . And similarly,
20 debian/package.emacsen-startup is installed into
21 etc/emacs/site-start.d/50<package>.el (by default).
22 .SH OPTIONS
23 .TP
24 .B debhelper options
25 See
26 .BR debhelper (1)
27 for a list of options common to all debhelper commands.
28 .TP
29 .B \-n, \--noscripts
30 Do not modify postinst/prerm scripts.
31 .TP
32 .B \--priority=n
33 Sets the priority number of a site-start.d file. Default is 50.
34 .TP
35 .B \--flavor=foo
36 Sets the flavor a site-start.d file will be installed in. Default is
37 "emacs", alternatives include "xemacs" and "emacs20".
38 .SH ENVIRONMENT
39 See
40 .BR debhelper (1)
41 for a list of environment variables that affect all debhelper commands.
42 .SH NOTES
43 Note that this command is not idempotent. "dh_clean -k" should be called
44 between invocations of this command. Otherwise, it may cause multiple
45 instances of the same text to be added to maintainer scripts.
46 .SH "SEE ALSO"
47 .TP
48 .BR debhelper (1)
49 .TP
50 .BR /usr/doc/emacsen-common/debian-emacs-policy.gz
51 .SH AUTHOR
52 Joey Hess <joeyh@debian.org>