commit 6b4540f8ed64ad1924e284bf6d5a0f8f0b83c8e9 parent bcb8df7e4bbda1483331eaec1fca80d117ed3d0b Author: Sean Enck <sean@ttypty.com> Date: Fri, 17 Feb 2023 18:08:08 -0500 cleanup makefile Diffstat:
| M | Makefile | | | 12 | +++--------- |
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile @@ -20,7 +20,9 @@ $(TARGET): cmd/main.go internal/**/*.go go.* internal/cli/completions* $(TESTDIR): cd $@ && go test -check: $(TARGET) $(TESTDIR) $(DOC) $(RUNS) +check: $(TARGET) $(TESTDIR) $(RUNS) + $(TARGET) help -verbose > $(DOC) + test -s $(DOC) $(RUNS): rm -f $(BUILD)*.kdbx @@ -29,11 +31,3 @@ $(RUNS): clean: rm -rf $(BUILD) - -$(DOC): $(TARGET) - $(TARGET) help -verbose > $(DOC) - -install: - install -Dm644 $(MAN) $(DESTDIR)share/man/man1/lb.1 - install -Dm755 $(TARGET) $(DESTDIR)bin/lb -