1 .TH DH_INSTALLEMACSEN 1 "" "Debhelper Commands" "Debhelper Commands"
3 dh_installemacsen \- register an emacs add on package
6 .I "[debhelper options] [-n] [--number=n] [--flavor=foo]"
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.
11 It also automatically generates the postinst and prerm commands needed to
12 register a package as an emacs add on package. See
14 for an explanation of how this works.
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).
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.
30 for a list of options common to all debhelper commands.
33 Do not modify postinst/prerm scripts.
36 Sets the priority number of a site-start.d file. Default is 50.
39 Sets the flavor a site-start.d file will be installed in. Default is
40 "emacs", alternatives include "xemacs" and "emacs20".
44 for a list of environment variables that affect all debhelper commands.
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.
53 .BR /usr/doc/emacsen-common/debian-emacs-policy.gz
55 Joey Hess <joeyh@debian.org>