Skip to content

Commit 0285c4e

Browse files
committed
Makefile: binaries depends on clean; install depends on uninstall
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 1997849 commit 0285c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GO_BUILD := $(GO) build -ldflags="-s -w -X $(PACKAGE)/pkg/version.Version=$(VERS
1717
all: binaries
1818

1919
.PHONY: binaries
20-
binaries: \
20+
binaries: clean \
2121
_output/bin/lima \
2222
_output/bin/limactl \
2323
_output/bin/nerdctl.lima \
@@ -56,7 +56,7 @@ _output/share/lima/lima-guestagent.Linux-aarch64:
5656
chmod 644 $@
5757

5858
.PHONY: install
59-
install:
59+
install: uninstall
6060
mkdir -p "$(DEST)"
6161
# Use tar rather than cp, for better symlink handling
6262
( cd _output && tar c * | tar Cxv "$(DEST)" )

0 commit comments

Comments
 (0)