awl/Makefile
Sam f2218481ee
All checks were successful
continuous-integration/drone/push Build is passing
feat(completions): add bash (#118)
well, at least the same Dig and drill do

Reviewed-on: #118
Reviewed-by: grumbulon <grumbulon@grumbulon.xyz>
2022-09-28 12:40:27 +00:00

15 lines
522 B
Makefile

# SPDX-License-Identifier: BSD-3-Clause
# BSD/POSIX makefile
include template.mk
EXE := $(PROG)
## install: installs awl
.PHONY: install
install: all
install -Dm755 $(PROG) $(DESTDIR)$(PREFIX)/$(BIN)/$(PROG)
install -Dm644 doc/$(PROG).1 $(DESTDIR)$(MAN)/man1/$(PROG).1
# completions need to go in one specific place :)
install -Dm644 completions/bash.bash $(DESTDIR)/$(PREFIX)/$(SHARE)/bash-completion/completions/$(PROG)
install -Dm644 completions/zsh.zsh $(DESTDIR)/$(PREFIX)/$(SHARE)/zsh/site-functions/_$(PROG)