[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-commit] [SCM] GNU Automake branch, experimental/elisp-work, cr
From: |
Stefano Lattarini |
Subject: |
[Automake-commit] [SCM] GNU Automake branch, experimental/elisp-work, created. v1.12.2-123-gd8f9bca |
Date: |
Sat, 14 Jul 2012 21:52:27 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".
http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=d8f9bca70eb28d39392709ce0fba5a1cbc2b1581
The branch, experimental/elisp-work has been created
at d8f9bca70eb28d39392709ce0fba5a1cbc2b1581 (commit)
- Log -----------------------------------------------------------------
commit d8f9bca70eb28d39392709ce0fba5a1cbc2b1581
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 23:14:45 2012 +0200
elisp: support elisp files in subdirectories properly
For more reference, see:
<http://lists.gnu.org/archive/html/automake/2009-10/msg00013.html>
<http://thread.gmane.org/gmane.comp.sysutils.automake.bugs/4772>
* lib/am/lisp.am (.el.elc): If the file being byte-compiled is in
a subdirectory, add that (both as a subdirectory of the builddir
and the srcdir) to the emacs load path. While we are at it (and
for consistency), drop quoting of $(srcdir) and $(builddir), since
those variables are ensured (by configure-time checks) not to
contain white space nor shell metacharacters.
* t/list-of-tests.mk (XFAIL_TESTS): Add 't/lisp-subdir.sh' and
't/lisp-subdir2.sh', since they now passes.
Signed-off-by: Stefano Lattarini <address@hidden>
commit cd0ea1127bb28d91bf74de931051b9a26a782551
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 22:46:20 2012 +0200
elisp: simplify suffix rules using emacs '-L' option
* lib/am/lisp.am (.el.elc): Use '-L dir' instead of calling '--eval' to
explicitly append to the 'load-path' variable.
Signed-off-by: Stefano Lattarini <address@hidden>
commit b99ee49f4f0fba41952e91848f563400794829ef
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 22:42:48 2012 +0200
elisp: no need to "absolutize" $(srcdir) and $(builddir) ...
* lib/am/lisp.am (.el.elc): ... here: we don't chdir around anyway,
nor move or copy around our source '.el' files. Update comments,
and re-wrap them while we are at it.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 7cd72e5d9283fcd778e7d694d3a420b934e842d3
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 22:33:40 2012 +0200
elisp: prefer $(builddir) files over $(srcdir) ones
* lib/am/lisp.am (.el.elc): Here. This better respects VPATH spirit.
Adjust and extends comments.
* t/list-of-tests.mk (XFAIL_TESTS): Remove 't/lisp-loadpath.sh', which
now passes.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 226be35fe1dad069485d9fa45c3fc3389f3e92a2
Author: Jack Kelly <address@hidden>
Date: Sat Jul 14 21:52:43 2012 +1000
elisp: use suffix rules, get rid of 'elisp-comp' script (mostly a rewrite)
Motivated by automake bug#11806.
Traditionally, automake byte-compiled emacs-lisp '.el' files by invoking
'elisp-comp' on all of them in a bulk; this involved complex timestamping
and file-locking logic. It was also brittle in any slightly-unusual
setup, because 'elisp-comp' operated by copying all of the elisp files
to be compiled into a temporary sub-directory and compiling them in there,
the copying the resulting byte-compile files back in the build directory.
This patch removes all of that juggling and chicanery in favour of
defining a much simpler '.el.elc' suffix rule. Not only this is simpler,
but it also interacts better with "make -jN" calls, which are becoming
more and more common and useful on today's increasingly multicore systems.
* Makefile.am (dist_script_DATA): Remove 'elisp-comp'.
* automake.in (@common_files): Likewise.
(handle_emacs_lisp): Do not require 'elisp-comp'.
* doc/automake.texi: Remove references to 'elisp-comp'.
* lib/am/lisp.am: Define elisp compilation via a suffix rule; this
basically amounts to a complete re-write of the lisp byte-compilation
rules.
* lib/elisp-comp: Remove.
* t/add-missing.tap: Remove elisp-comp test.
* t/dist-auxdir-many-subdirs.sh: Remove reference to elisp-comp.
* t/primary-prefix-invalid-couples.tap: Likewise.
* t/primary-prefix-valid-couples.sh: Likewise.
* t/lisp4.sh: Remove reference to elc-stamp.
* t/lisp5.sh: Likewise.
* t/lisp6.sh: Likewise.
* t/lisp3.sh: Likewise. Also remove the recompilation check that
involves a (message) call.
* t/lisp7.sh: Remove check for "Warnings can be ignored". Remove
reference to elc-stamp.
* t/lisp8.sh: Likewise.
* t/lispdry.sh: Remove references to elc-stamp.
Acked-by: Stefano Lattarini <address@hidden>
Signed-off-by: Stefano Lattarini <address@hidden>
commit 9bed1c1024afc2ddf5b3fb719b8320fa16ad18df
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 21:54:03 2012 +0200
coverage: elisp path contains $(srcdir) and $(builddir)
* t/lisp-loadpath.sh: Check that. Also check that, in true VPATH
spirit, elisp files in the build directory are preferred to those
in the source directory. This test currently fails.
* t/list-of-tests.mk (handwritten_TESTS): Add the new test.
(XFAIL_TESTS): Likewise.
Signed-off-by: Stefano Lattarini <address@hidden>
commit 2f88456d63e72f9a82410873f8f041814097dbd4
Author: Stefano Lattarini <address@hidden>
Date: Sat Jul 14 20:55:30 2012 +0200
coverage: emacs lisp files in subdirectories
* t/lisp-subdir.sh, t/lisp-subdir2.sh: New tests, still failing.
* t/list-of-files.mk (handwritten_TESTS, XFAIL_TESTS): Add them.
Signed-off-by: Stefano Lattarini <address@hidden>
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Automake
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Automake-commit] [SCM] GNU Automake branch, experimental/elisp-work, created. v1.12.2-123-gd8f9bca,
Stefano Lattarini <=