aboutsummaryrefslogtreecommitdiff
path: root/emacs.am
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-01-24 19:01:36 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-01-28 16:31:38 +0100
commit54523748354bb5144a9a9102fbcfabed49b71e73 (patch)
tree332367d8aee801d7fa5bf9c5e466468d3fd92444 /emacs.am
parent8dddedf778f85c3356466ed028ff3c2c6fedb44f (diff)
downloadpatches-54523748354bb5144a9a9102fbcfabed49b71e73.tar
patches-54523748354bb5144a9a9102fbcfabed49b71e73.tar.gz
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).
Diffstat (limited to 'emacs.am')
-rw-r--r--emacs.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/emacs.am b/emacs.am
index 30bb02b454..9276c12f36 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