diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-27 17:30:10 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-27 17:30:10 +0200 |
commit | a9638ac413aa83353559b7c4443715f012fa2c13 (patch) | |
tree | ffcb77ab2c9ad2ad80eb7343bc4f28fca24d6486 | |
parent | 596fcbf768828bb88c28107c6312e63f8329f430 (diff) | |
download | guix-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.am | 4 |
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) \ |