summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2018-01-07 13:53:20 -0400
committerDavid Bremner <david@tethera.net>2018-01-07 15:27:10 -0400
commit443ff18fe0381d24980f79a6aae9dacca19b8d89 (patch)
tree53eefa057bf2e1b303e3b952ebc34fad1a19a4ea
parent1981ba2910fb16c300794f23f49dc16052a24dbd (diff)
add NEWS / documentation for --emacs-loadpath
These are related because the NEWS points to the new documentation
-rw-r--r--debian/NEWS13
-rwxr-xr-xdh_elpa.in14
2 files changed, 27 insertions, 0 deletions
diff --git a/debian/NEWS b/debian/NEWS
index f9623d5..8e69406 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,16 @@
+dh-elpa (1.12) experimental; urgency=medium
+
+ This version of dh_elpa switches to using --quick for
+ byte-compilation. This means that the previous automatic handling of
+ non-elpa-* byte-compilation (package install time) dependencies is
+ removed. There are two solutions for maintainers of packages with
+ non-elpa-* dependencies. A long term solution is to convince the
+ maintainers of your dependencies to use dh-elpa; a local fix is to
+ add an --emacs-loadpath option to debian/rules. See dh_elpa(1) for
+ details.
+
+ -- David Bremner <bremner@debian.org> Sun, 07 Jan 2018 13:49:06 -0400
+
dh-elpa (0.0.20) unstable; urgency=medium
This version of dh_elpa will try to run any ERT and Buttercup test
diff --git a/dh_elpa.in b/dh_elpa.in
index 9d5e034..0b70895 100755
--- a/dh_elpa.in
+++ b/dh_elpa.in
@@ -316,6 +316,20 @@ Here is an example of using the helper in a dh(1) style debian/rules
=back
+Here is a more complex dh(1) style debian/rules, where the package
+needs some non-dh-elpa emacs addon I<fubar-el>
+
+=over 4
+
+ #!/usr/bin/make -f
+ %:
+ dh $@ --with elpa
+
+ override_dh_elpa:
+ dh_elpa --emacs-loadpath="/usr/share/emacs/site-lisp/fubar-el"
+
+=back
+
Here is an example of a binary package stanza using dh_elpa generated
substvars