From 582913dfccaae3bd7bb3f979bf68d744aa628648 Mon Sep 17 00:00:00 2001 From: Rene Date: Mon, 25 May 2026 10:30:06 +0800 Subject: [PATCH] install to ~/.local/bin --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e5877c..26cae7f 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ EXE := $(shell go env GOEXE) OCGO_BIN := bin/ocgo$(EXE) GOBIN := $(shell go env GOBIN) GOPATH := $(shell go env GOPATH) -INSTALL_DIR := $(if $(GOBIN),$(GOBIN),$(GOPATH)/bin) +INSTALL_DIR := $(HOME)/.local/bin build: go build -ldflags "-X main.version=$(VERSION)" -o $(OCGO_BIN) ./cmd/ocgo