build: Don't install elisp files when Emacs is unavailable.
* emacs.am (dist_lisp_DATA, nodist_lisp_DATA): Wrap in 'if HAVE_EMACS'.master
parent
596fcbf768
commit
a9638ac413
4
emacs.am
4
emacs.am
|
@ -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) \
|
||||||
|
|
Reference in New Issue