summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-18 05:32:37 -0600
committerJeff Carr <[email protected]>2024-11-18 05:32:37 -0600
commit3046ff335f8b8951c4534ee6eace38342a6fe19d (patch)
treedbd34870a904e6ec6dcb21f71960ed5f46c7f96a
parent81cbb6e9d7def6f34bda77bc6940377173dfae76 (diff)
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 6ae9fca..317ce8b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,16 +4,10 @@
# go install
check-for-protoc-gen-go:
- @if [ -f "/usr/bin/bin/protoc-gen-go" ]; then \
+ @if [ -f "/usr/bin/protoc-gen-go" ]; then \
echo "the protoc-gen-go package is old in debian sid right now"; \
echo "for now, remove it"; \
- apt remote proto-gen-go \
- exit 1; \
- fi
- @if [ ! -f "$(HOME)/go/bin/protoc-gen-go" ]; then \
- echo "you must build protoc-gen-go from google"; \
- echo go-clone google.golang.org/protobuf; \
- cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go/ && go install; \
+ echo "and install protoc-gen-go-wit from mirrors.wit.com"; \
fi
make all