Add support for configurable bash completion path

Rewrote the configure script to support the following options:

--with-bash-completion-dir=PATH
--without-bash-completion-dir
This commit is contained in:
Martin Lund 2016-05-01 21:07:25 +02:00
parent ce15665214
commit d574172205
2 changed files with 24 additions and 4 deletions

View file

@ -3,9 +3,14 @@ gotty_SOURCES = tty.c \
options.c \
time.c \
main.c \
log.c \
include/gotty/tty.h \
include/gotty/options.h \
include/gotty/time.h \
include/gotty/print.h
bashcompletiondir=@bashcompdir@
include/gotty/print.h \
include/gotty/log.h
if ENABLE_BASH_COMPLETION
bashcompletiondir=@BASH_COMPLETION_DIR@
dist_bashcompletion_DATA=bash-completion/gotty
endif