build: Don't install elisp files when Emacs is unavailable.

* emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'.
This commit is contained in:
Ludovic Courtès 2014-09-27 17:30:10 +02:00
parent 596fcbf768
commit a9638ac413

View File

@ -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) \