build: invoke go build once only

This commit is contained in:
Simon Ser 2023-02-06 15:26:10 +01:00
parent 09e1393453
commit 67ccc19fdd

View file

@ -18,11 +18,8 @@ goflags := $(GOFLAGS) -ldflags=" \
all: soju sojudb sojuctl doc/soju.1
soju:
$(GO) build $(goflags) ./cmd/soju
sojudb:
$(GO) build $(goflags) ./cmd/sojudb
sojuctl:
$(GO) build $(goflags) ./cmd/sojuctl
$(GO) build $(goflags) ./cmd/soju ./cmd/sojudb ./cmd/sojuctl
sojudb sojuctl: soju
doc/soju.1: doc/soju.1.scd
$(SCDOC) <doc/soju.1.scd >doc/soju.1