summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-27 17:30:10 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-27 17:30:10 +0200
commita9638ac413aa83353559b7c4443715f012fa2c13 (patch)
treeffcb77ab2c9ad2ad80eb7343bc4f28fca24d6486
parent596fcbf768828bb88c28107c6312e63f8329f430 (diff)
downloadguix-a9638ac413aa83353559b7c4443715f012fa2c13.tar.gz
build: Don't install elisp files when Emacs is unavailable.
* emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'.
-rw-r--r--emacs.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs.am b/emacs.am
index 6ef9d1c326..35470a3fab 100644
--- a/emacs.am
+++ b/emacs.am
@@ -27,6 +27,8 @@ ELFILES =					\
   emacs/guix-utils.el				\
   emacs/guix.el
 
+if HAVE_EMACS
+
 dist_lisp_DATA =				\
   $(ELFILES)					\
   $(AUTOLOADS)
@@ -34,8 +36,6 @@ dist_lisp_DATA =				\
 nodist_lisp_DATA =				\
   emacs/guix-init.el
 
-if HAVE_EMACS
-
 $(AUTOLOADS): $(ELFILES)
 	$(EMACS) --batch --eval						\
 	  "(let ((backup-inhibited t)					\