cp -a "$srcdir"/test/* test
# Emacs only likes to generate compiled files next to the .el files
- # by default so copy these as well (which is not ideal0.
+ # by default so copy these as well (which is not ideal).
cp -a "$srcdir"/emacs/*.el emacs
fi
Some features can be disabled (--with-feature=no is equivalent to
--without-feature) :
+ --without-bash-completion Do not install bash completions files
--without-docs Do not install documentation and man pages
--without-emacs Do not install lisp file
- --without-bash-completion Do not install bash completions files
--without-zsh-completion Do not install zsh completions files
Additional options are accepted for compatibility with other
BASHCOMPLETIONDIR="${option#*=}"
elif [ "${option%%=*}" = '--zshcompletiondir' ] ; then
ZSHCOMLETIONDIR="${option#*=}"
+ elif [ "${option%%=*}" = '--with-docs' ]; then
+ if [ "${option#*=}" = 'no' ]; then
+ WITH_DOCS=0
+ else
+ WITH_DOCS=1
+ fi
elif [ "${option}" = '--without-docs' ] ; then
WITH_DOCS=0
elif [ "${option%%=*}" = '--with-emacs' ]; then