From c565c3f04d2a422bdf17e9bf72fd4b999d515c3f Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sun, 19 Aug 2018 18:43:56 -0300 Subject: document ELPA_NAME --- dh_elpa.in | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dh_elpa.in b/dh_elpa.in index 9ff665e..9308d58 100755 --- a/dh_elpa.in +++ b/dh_elpa.in @@ -370,3 +370,26 @@ version strings Emacs will accept (see the docstring for the Emacs function `version-to-list' for details). dh_elpa will error out if the version cannot be translated. You should resort to patching in a Package-Version header or adding a *-pkg.el file. + +=head2 Specifying the (Emacs) package name + +Every Emacs package has a name (e.g. C, C, or +C). This name is encoded in the source, either using a special +comment or the C<*-pkg.el> file. B needs to know what this name +is. For packages compliant with the Debian Emacsen Team addons policy +(L) this will prefixed with +'elpa-' to become the Debian (apt/dpkg) package name. For Debian +packages not following this naming convention, B will by +default try using the Debian package name as the Emacs package name. +If this does not work for your package, you can specify +environment variable B in debian/rules: + +=over 4 + + ELPA_NAME=tpp-mode + export ELPA_NAME + +=back + +You can also specify the name on a per binary package basis with +C. -- cgit v1.2.3