From a9638ac413aa83353559b7c4443715f012fa2c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 27 Sep 2014 17:30:10 +0200 Subject: [PATCH] build: Don't install elisp files when Emacs is unavailable. * emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'. --- emacs.am | 4 ++-- 1 file 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) \