1 .TH DH_INSTALLEMACSEN 1 "" "Debhelper Commands" "Debhelper Commands"
3 dh_installemacsen \- register an emacs add on package
6 .I "[debhelper options] [-n] [--priority=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).
27 for a list of options common to all debhelper commands.
30 Do not modify postinst/prerm scripts.
33 Sets the priority number of a site-start.d file. Default is 50.
36 Sets the flavor a site-start.d file will be installed in. Default is
37 "emacs", alternatives include "xemacs" and "emacs20".
41 for a list of environment variables that affect all debhelper commands.
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.
50 .BR /usr/doc/emacsen-common/debian-emacs-policy.gz
52 Joey Hess <joeyh@debian.org>