Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quite a few changes, mostly removing old stuff though. 1. "GO111MODULE=off" is no longer required to be set by default (and it used to be overridden below anyway). 2. "go build" no longer requires explicit "-mod=vendor", as this is the default since go 1.14. 3. GOPROXY is set to proxy.golang.org by default since go 1.13. 4. Always use default GOPATH (which is $HOME/go since Go 1.8; earlier releases needed to set it explicitly). 5. Drop the code that handles multiple comma-separated GOPATH elements (when using modules, GOPATH is no longer used for resolving imports, which basically means using multiple paths is useless). 6. Fix go-get to use go install mod@latest, if available (Go >= 1.16), and fall back to go get -u (deprecated since Go 1.16). The fallback can later be removed. 7. Do not check if go-md2man is available, always installing it. This fixes the issue of using old version of installed go-md2man, and removes the need to have GOBIN make variable. 8. Remove GOPKGBASEDIR and GOPKGBASEDIR, defined by Makefile, were never used. Signed-off-by: Kir Kolyshkin <[email protected]>
- Loading branch information