## ---------- ##
.el.elc:
-## We add $(abs_builddir) and $(abs_srcdir) to load-path, so that any
-## .el files that $< depends upon can be found (including generated
-## ones). Prefer files from the build directory to those from the source
-## directory, in true VPATH spirit. The destination file is normally
-## determined by appending "c" to the input (which would erronously put
-## it in $(srcdir) in VPATH builds), so we override that, too.
+## We add $(builddir) and $(srcdir) to load-path, so that any '.el' files
+## that $< depends upon can be found (including generated ones).
+## We prefer files from the build directory to those from the source
+## directory, in true VPATH spirit.
+## The destination file is normally determined by appending "c" to the
+## input (which would erronously put it in $(srcdir) in VPATH builds),
+## so we override that, too.
if test "$(EMACS)" != "no"; then \
$(EMACS) -q --batch \
- --eval "(setq load-path (cons \"$(abs_srcdir)\" load-path))" \
- --eval "(setq load-path (cons \"$(abs_builddir)\" load-path))" \
+ --eval "(setq load-path (cons \"$(srcdir)\" load-path))" \
+ --eval "(setq load-path (cons \"$(builddir)\" load-path))" \
--eval "(defun byte-compile-dest-file (f) \"$@\")" \
--eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
else :; fi