build doesn't work

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-02 16:05:17 -05:00
parent 0f1bdad780
commit 1321b8566a
1 changed files with 11 additions and 0 deletions

View File

@ -11,6 +11,17 @@ PROTOGEN= $(shell if [ -e /usr/bin/protoc-gen-go ]; then echo probably wrong pr
PROTOGENLOCAL= $(shell if [ -e ~/go/bin/protoc-gen-go ]; then echo ~/go/bin/protoc-gen-go exists ok; else echo build the right one with: make protogen && exit 0; fi) PROTOGENLOCAL= $(shell if [ -e ~/go/bin/protoc-gen-go ]; then echo ~/go/bin/protoc-gen-go exists ok; else echo build the right one with: make protogen && exit 0; fi)
all: all:
@echo
@echo the build is complicated right now because you need
@echo the google version of protoc-gen-go which is not the one in debian
@echo sid right now. until that is fixed, this is a pain in the ass
@echo
@echo also, makefiles are awesome, but only for simple shit. this shit is
@echo way to complicated to be here so Im rather leaning towards making
@echo a go binary just to build this
@echo
build-attempt1:
@echo ${PROTOGEN} @echo ${PROTOGEN}
@echo ${PROTOGENLOCAL} @echo ${PROTOGENLOCAL}
@if [ ! -f ~/go/bin/protc-gen-go ]; then \ @if [ ! -f ~/go/bin/protc-gen-go ]; then \