]> git.donarmstrong.com Git - debhelper.git/blob - dh_installemacsen.1
r309: removed 'master'
[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] [--number=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 .P
23 For the first first binary package listed in the control file, you may use
24 debian/emacsen-install, debian/emacsen-remove, and debian/emacsen-startup instead.
25 .SH OPTIONS
26 .TP
27 .B debhelper options
28 See
29 .BR debhelper (1)
30 for a list of options common to all debhelper commands.
31 .TP
32 .B \-n, \--noscripts
33 Do not modify postinst/prerm scripts.
34 .TP
35 .B \--number=n
36 Sets the priority number of a site-start.d file. Default is 50.
37 .TP
38 .B \--flavor=foo
39 Sets the flavor a site-start.d file will be installed in. Default is
40 "emacs", alternatives include "xemacs" and "emacs20".
41 .SH ENVIRONMENT
42 See
43 .BR debhelper (1)
44 for a list of environment variables that affect all debhelper commands.
45 .SH NOTES
46 Note that this command is not idempotent. "dh_clean -k" should be called
47 between invocations of this command. Otherwise, it may cause multiple
48 instances of the same text to be added to maintainer scripts.
49 .SH "SEE ALSO"
50 .TP
51 .BR debhelper (1)
52 .TP
53 .BR /usr/doc/emacsen-common/debian-emacs-policy.gz
54 .SH AUTHOR
55 Joey Hess <joeyh@debian.org>