Makefile: set bash COMPL_DIR to FreeBSD expected defaults (#1042)

See official conventions: https://docs.freebsd.org/en/books/porters-handbook/special/#shell-completion
This commit is contained in:
Igor Ostapenko 2023-05-04 06:19:25 +03:00 committed by GitHub
parent 2fca5edb7d
commit bbf90c4623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,8 @@ else
endif
ifeq ($(OS), Darwin)
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash_completion.d"
else ifeq ($(OS), FreeBSD)
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash_completion.d"
else
COMPL_DIR ?= "$(DESTDIR)$(SYSCONFDIR)/bash-completion/completions"
endif