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).
This commit is contained in:
Mathieu Lirzin 2016-01-24 19:01:36 +01:00
parent 8dddedf778
commit 5452374835
1 changed files with 6 additions and 4 deletions

View File

@ -54,11 +54,11 @@ ELFILES = \
if HAVE_EMACS if HAVE_EMACS
dist_lisp_DATA = \ dist_lisp_DATA = $(ELFILES)
$(ELFILES) \
$(AUTOLOADS)
nodist_lisp_DATA = emacs/guix-config.el nodist_lisp_DATA = \
emacs/guix-config.el \
$(AUTOLOADS)
$(AUTOLOADS): $(ELFILES) $(AUTOLOADS): $(ELFILES)
$(AM_V_EMACS)$(EMACS) --batch --eval \ $(AM_V_EMACS)$(EMACS) --batch --eval \
@ -68,4 +68,6 @@ $(AUTOLOADS): $(ELFILES)
(update-directory-autoloads \ (update-directory-autoloads \
(expand-file-name \"emacs\" \"$(srcdir)\")))" (expand-file-name \"emacs\" \"$(srcdir)\")))"
CLEANFILES += $(AUTOLOADS)
endif HAVE_EMACS endif HAVE_EMACS