awl/Makefile
Sam Therapy 6623908de6
[SKIP CI] misc: makefile refactoring
Mainly making it so that it doesn't always run tests when making coverage

Also, making it more cross platform and less splintered is nice.

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2022-09-17 01:29:01 +02:00

14 lines
No EOL
417 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/zsh.zsh $(DESTDIR)/$(PREFIX)/$(SHARE)/zsh/site-functions/_$(PROG)