From e9ea43b43a71eaead9d71afbe62e3ee859501feb Mon Sep 17 00:00:00 2001 From: Shaun Thomas Date: Wed, 28 Jan 2026 16:18:11 -0600 Subject: [PATCH] Some issues seem to have been broken in the build / install process. * go.mod now specifies the point version of go to avoid toolchain errors. Without the full version spelled out, some versions of go can report a "toolchain not available" error during the `make build` step. * PREFIX can now be overridden by an environment variable. The PREFIX environment setting was being ignored, so installs always went to the default location of /usr/local. --- Makefile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8c3fdfa..4a36fbc 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BINARY_PATH=bin/$(BINARY_NAME) GO=go GOFLAGS= LDFLAGS= -PREFIX=/usr/local +PREFIX ?= /usr/local all: build diff --git a/go.mod b/go.mod index aa5d43a..2a9c419 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/pgedge/pgedge-docloader -go 1.23 +go 1.23.0 require ( github.com/JohannesKaufmann/html-to-markdown v1.5.0