summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.am b/emacs.am
index 9276c12f36..1897e2e956 100644
--- a/emacs.am
+++ b/emacs.am
@@ -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)\")))"