mirror of
https://codeberg.org/scip/ephemerup.git
synced 2025-12-17 04:30:57 +01:00
+ctl build
This commit is contained in:
10
Makefile
10
Makefile
@@ -29,7 +29,10 @@ BUILD = $(shell date +%Y.%m.%d.%H%M%S)
|
||||
VERSION := $(if $(filter $(BRANCH), development),$(version)-$(BRANCH)-$(COMMIT)-$(BUILD),$(version))
|
||||
HAVE_POD := $(shell pod2text -h 2>/dev/null)
|
||||
|
||||
all: buildlocal
|
||||
all: buildlocal buildlocalctl
|
||||
|
||||
buildlocalctl:
|
||||
make -C upctl
|
||||
|
||||
buildlocal:
|
||||
go build -ldflags "-X 'github.com/tlinden/up/upd/cfg.VERSION=$(VERSION)'"
|
||||
@@ -45,7 +48,10 @@ install: buildlocal
|
||||
install -d -o $(UID) -g $(GID) $(PREFIX)/bin
|
||||
install -o $(UID) -g $(GID) -m 555 $(tool) $(PREFIX)/sbin/
|
||||
|
||||
clean:
|
||||
cleanctl:
|
||||
make -C upctl clean
|
||||
|
||||
clean: cleanctl
|
||||
rm -rf $(tool) releases coverage.out
|
||||
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user