aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/Makefile.local
diff options
context:
space:
mode:
authorGravatar Cédric Cabessa <ced@ryick.net>2011-01-23 14:33:43 +0100
committerGravatar Carl Worth <cworth@cworth.org>2011-01-26 22:30:32 +1000
commit26b4cc4aad93e25dab1e1f38f19f1ae69cde389c (patch)
treeff32fa26a4de4e8af53095152123feee7bd6dc92 /emacs/Makefile.local
parent90a505373ef5a8135357f2da3cdf6837e32c3a7a (diff)
configure: add options to disable emacs/zsh/bash and choose install dir.
add --bashcompletiondir and --zshcompletiondir (like --emacslispdir) to choose installation dir for bash/zsh completion files Make some features optional: --without-emacs / --with-emacs=no do not install lisp file --without-bash-completion / --with-bash-completion=no do not install bash files --without-zsh-completion / --with-zsh-completion=no do not install zsh files By default, everything is enabled. You can reenable something with --with-feature=yes
Diffstat (limited to 'emacs/Makefile.local')
-rw-r--r--emacs/Makefile.local2
1 files changed, 2 insertions, 0 deletions
diff --git a/emacs/Makefile.local b/emacs/Makefile.local
index 86f9b07f..9ea8e491 100644
--- a/emacs/Makefile.local
+++ b/emacs/Makefile.local
@@ -22,11 +22,13 @@ emacs_bytecode := $(subst .el,.elc,$(emacs_sources))
%.elc: %.el
$(call quiet,EMACS) --directory emacs -batch -f batch-byte-compile $<
+ifeq ($(WITH_EMACS),1)
ifeq ($(HAVE_EMACS),1)
all: $(emacs_bytecode)
endif
install: install-emacs
+endif
.PHONY: install-emacs
install-emacs: