awl/Makefile
Sam Therapy 00ec4ef893
All checks were successful
continuous-integration/drone/push Build is passing
fix(Make): stop compressing the manpages
Let whatever installs them do it themselves

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-16 23:23:10 +01:00

17 lines
623 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/fish.fish $(DESTDIR)$(PREFIX)$(SHARE)/fish/vendor_completions.d/$(PROG).fish
install -Dm644 completions/zsh.zsh $(DESTDIR)$(PREFIX)$(SHARE)/zsh/site-functions/_$(PROG)