Don't hardcode path for bash completions

Instead, use pkg-config to find out where the completions should go.
This commit is contained in:
Jakob Haufe 2016-04-30 16:57:24 +02:00
parent a68421c263
commit cf5f62ffb6
No known key found for this signature in database
GPG key ID: 4CF2B218F54DAE3D
2 changed files with 4 additions and 1 deletions

View file

@ -7,5 +7,5 @@ gotty_SOURCES = tty.c \
include/gotty/options.h \
include/gotty/time.h \
include/gotty/print.h
bashcompletiondir=$(sysconfdir)/bash_completion.d
bashcompletiondir=@bashcompdir@
dist_bashcompletion_DATA=bash-completion/gotty