build: Write emacs-autoloads.el to $(builddir).

* emacs.am ($(AUTOLOADS)): Write to $(builddir), not $(srcdir).
This commit is contained in:
Ludovic Courtès 2016-03-16 17:02:53 +01:00
parent 23d60ba65c
commit 1ac94ae166

View File

@ -64,7 +64,7 @@ $(AUTOLOADS): $(ELFILES)
$(AM_V_EMACS)$(EMACS) --batch --eval \
"(let ((backup-inhibited t) \
(generated-autoload-file \
(expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\"))) \
(expand-file-name \"$(AUTOLOADS)\" \"$(builddir)\"))) \
(update-directory-autoloads \
(expand-file-name \"emacs\" \"$(srcdir)\")))"