me
/
guix
Archived
1
0
Fork 0

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

* emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'.
master
Ludovic Courtès 2014-09-27 17:30:10 +02:00
parent 596fcbf768
commit a9638ac413
1 changed files with 2 additions and 2 deletions

View File

@ -27,6 +27,8 @@ ELFILES = \
emacs/guix-utils.el \ emacs/guix-utils.el \
emacs/guix.el emacs/guix.el
if HAVE_EMACS
dist_lisp_DATA = \ dist_lisp_DATA = \
$(ELFILES) \ $(ELFILES) \
$(AUTOLOADS) $(AUTOLOADS)
@ -34,8 +36,6 @@ dist_lisp_DATA = \
nodist_lisp_DATA = \ nodist_lisp_DATA = \
emacs/guix-init.el emacs/guix-init.el
if HAVE_EMACS
$(AUTOLOADS): $(ELFILES) $(AUTOLOADS): $(ELFILES)
$(EMACS) --batch --eval \ $(EMACS) --batch --eval \
"(let ((backup-inhibited t) \ "(let ((backup-inhibited t) \