From 26b4cc4aad93e25dab1e1f38f19f1ae69cde389c Mon Sep 17 00:00:00 2001 From: Cédric Cabessa Date: Sun, 23 Jan 2011 14:33:43 +0100 Subject: 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 --- emacs/Makefile.local | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs/Makefile.local') 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: -- cgit v1.2.3