From 4f6f43a787d4677474603a286ea10f478d81a2f6 Mon Sep 17 00:00:00 2001 From: dj-oyu <68707227+dj-oyu@users.noreply.github.com> Date: Fri, 20 Feb 2026 14:00:59 +0900 Subject: [PATCH] =?UTF-8?q?make=20build=E5=BE=8C=E3=81=ABOS=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E4=BB=98=E3=81=8Dinstall=E3=82=B3=E3=83=9E=E3=83=B3?= =?UTF-8?q?=E3=83=89=E3=82=92=E8=A1=A8=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index ff280e3e4..248e956d9 100644 --- a/Makefile +++ b/Makefile @@ -79,6 +79,12 @@ build: generate @$(GO) build $(GOFLAGS) $(LDFLAGS) -o $(BINARY_PATH) ./$(CMD_DIR) @echo "Build complete: $(BINARY_PATH)" @ln -sf $(BINARY_NAME)-$(PLATFORM)-$(ARCH) $(BUILD_DIR)/$(BINARY_NAME) + @if [ "$(PLATFORM)" = "linux" ] || [ "$(PLATFORM)" = "darwin" ]; then \ + echo "Install to /usr/local/bin:"; \ + echo " sudo install -m 755 $(BINARY_PATH) /usr/local/bin/$(BINARY_NAME)"; \ + else \ + echo "Install hint skipped: /usr/local/bin command is for Linux/macOS (current: $(PLATFORM))."; \ + fi ## build-all: Build picoclaw for all platforms build-all: generate