DH_INSTALLEMACSEN(1)
π DH_INSTALLEMACSEN π
okay bestie, gather round, because this is dh_installemacsen from the Debhelper squad, and she is literally the one who files the paperwork so your little package gets recognised as an Emacs add-on. π Think of her as the group chat admin who adds everyone to the right roles. no cap.
β¨ NAME β¨
dh_installemacsen β register an Emacs add on package π§
πΈ SYNOPSIS πΈ
dh_installemacsen [debhelper options] [-n] [--priority=n] [--flavor=foo]
π¦ DESCRIPTION π¦
so, dh_installemacsen is a debhelper program, and her whole job is installing the files that the Debian emacsen-common package uses, dropping them into your package build directories. it's giving backstage crew. π
she also automatically generates the preinst, postinst and prerm commands you need to register a package as an Emacs add on package. those commands get added to the maintainer scripts by dh_installdeb. if you want the full lore on how that whole thing works, go read dh_installdeb(1). π
π FILES π
debian/package.emacsen-compatβ gets installed intousr/lib/emacsen-common/packages/compat/packageinside the package build directory. β¨debian/package.emacsen-installβ gets installed intousr/lib/emacsen-common/packages/install/packageinside the package build directory. πdebian/package.emacsen-removeβ gets installed intousr/lib/emacsen-common/packages/remove/packageinside the package build directory. πdebian/package.emacsen-startupβ gets installed intoetc/emacs/site-start.d/50package.elinside the package build directory. and ooh, if you want a different priority than50, use--priorityfor that. π
π OPTIONS π
-n,--no-scriptsβ do not touch thepostinst/prermscripts. hands off, bestie π--priority=nβ sets the priority number of asite-start.dfile. the default is50. π₯--flavor=fooβ sets the flavor that asite-start.dfile will be installed in. default isemacs, and alternatives includexemacsandemacs20. π
π NOTES π
β οΈ real talk: this command is not idempotent. you gotta call dh_prep(1) between invocations of this command. otherwise? it may cause multiple instances of the same text to be added to maintainer scripts. and like... nobody wants duplicate text in their maintainer scripts, it's giving chaos. π
π SEE ALSO π
debhelper(7)"usr/share/doc/emacsen-common/debian-emacs-policy.gz"
this program is a part of debhelper. π«Ά
π AUTHOR π
Joey Hess <joeyh@debian.org>
and that's the whole page, bestie!! this iconic lil manual came to you from Debhelper version 14.5ubuntu1 (yes, the source/version line), dated 2026-09-21. go forth and register those Emacs add-ons, you absolute main character. π
β¨ππ¦
π¦ where this page comes from
- ubuntu stonking: debhelper 14.5ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms