From 54523748354bb5144a9a9102fbcfabed49b71e73 Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl@gnu.org>
Date: Sun, 24 Jan 2016 19:01:36 +0100
Subject: [PATCH] build: Remove guix-autoloads.el from the distribution.

* emacs.am [HAVE_EMACS] (dist_lisp_DATA): Move $(AUTOLOADS) to ...
[HAVE_EMACS] (nodist_lisp_DATA): ... here.
(CLEANFILES) [HAVE_EMACS]: Add $(AUTOLOADS).
---
 emacs.am | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/emacs.am b/emacs.am
index 30bb02b454d..9276c12f365 100644
--- a/emacs.am
+++ b/emacs.am
@@ -54,11 +54,11 @@ ELFILES =					\
 
 if HAVE_EMACS
 
-dist_lisp_DATA =				\
-  $(ELFILES)					\
-  $(AUTOLOADS)
+dist_lisp_DATA = $(ELFILES)
 
-nodist_lisp_DATA = emacs/guix-config.el
+nodist_lisp_DATA = 		\
+  emacs/guix-config.el		\
+  $(AUTOLOADS)
 
 $(AUTOLOADS): $(ELFILES)
 	$(AM_V_EMACS)$(EMACS) --batch --eval				\
@@ -68,4 +68,6 @@ $(AUTOLOADS): $(ELFILES)
 	     (update-directory-autoloads				\
 	      (expand-file-name \"emacs\" \"$(srcdir)\")))"
 
+CLEANFILES += $(AUTOLOADS)
+
 endif HAVE_EMACS
-- 
GitLab