summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-08-04 14:56:27 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-08-04 15:12:20 +0200
commit56cd2dda0edcc4089954fd560712d762b80cebe5 (patch)
tree8d4fb8f608a2677762467ad95e3c25580ffbc754 /doc
parent1ee9c78b296198bcec16bd9a9f01511ded9780e0 (diff)
downloadautomake-56cd2dda0edcc4089954fd560712d762b80cebe5.tar.gz
elisp: honour AM_ELCFLAFS and ELCFLAGS in byte-compilation
* lib/am/lisp.am (.el.elc): Add "$(AM_ELCFLAFS) $(ELCFLAGS)" to the emacs command line. * t/lisp-flags.sh: New test. * t/list-of-tests.mk: Add it. * doc/automake.texi (Emacs Lisp): Update. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/automake.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/automake.texi b/doc/automake.texi
index a34b40151..d2bc574e5 100644
--- a/doc/automake.texi
+++ b/doc/automake.texi
@@ -7469,7 +7469,10 @@ Lisp sources are not distributed by default. You can prefix the
distributed.
Automake will byte-compile all Emacs Lisp source files using the Emacs
-found by @code{AM_PATH_LISPDIR}, if any was found.
+found by @code{AM_PATH_LISPDIR}, if any was found. When performing such
+byte-compilation, the flags specified in the (developer-reserved)
+@code{AM_ELCFLAGS} and (user-reserved) @code{ELCFLAGS} make variables
+will be passed to the Emacs invocation.
Byte-compiled Emacs Lisp files are not portable among all versions of
Emacs, so it makes sense to turn this off if you expect sites to have