diff --git a/opencloud/Makefile b/opencloud/Makefile index 06dee692b..b70e30f5a 100644 --- a/opencloud/Makefile +++ b/opencloud/Makefile @@ -7,7 +7,9 @@ ifdef ENABLE_VIPS TAGS := ${TAGS},enable_vips endif +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/go.mk diff --git a/pkg/Makefile b/pkg/Makefile index 25fb10f0f..f0363a3d0 100644 --- a/pkg/Makefile +++ b/pkg/Makefile @@ -1,7 +1,9 @@ SHELL := bash NAME := pkg +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/go.mk diff --git a/protogen/Makefile b/protogen/Makefile index a282dcd8a..93930cc24 100644 --- a/protogen/Makefile +++ b/protogen/Makefile @@ -1,7 +1,9 @@ SHELL := bash NAME := protogen +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../.bingo/Variables.mk +endif include ../.make/default.mk include ../.make/recursion.mk include ../.make/generate.mk diff --git a/services/activitylog/Makefile b/services/activitylog/Makefile index 4858a5e70..0d6a6af77 100644 --- a/services/activitylog/Makefile +++ b/services/activitylog/Makefile @@ -3,7 +3,10 @@ NAME := activitylog OUTPUT_DIR = ./pkg/service/l10n TEMPLATE_FILE = ./pkg/service/l10n/activitylog.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/antivirus/Makefile b/services/antivirus/Makefile index 112395e3a..47a588dd8 100644 --- a/services/antivirus/Makefile +++ b/services/antivirus/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := antivirus +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/app-provider/Makefile b/services/app-provider/Makefile index 563a79caa..f200baa5f 100644 --- a/services/app-provider/Makefile +++ b/services/app-provider/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := app-provider +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/app-registry/Makefile b/services/app-registry/Makefile index 94fe404b1..c35e1fa1b 100644 --- a/services/app-registry/Makefile +++ b/services/app-registry/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := app-registry +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/audit/Makefile b/services/audit/Makefile index 93cefeb0c..d7abe3749 100644 --- a/services/audit/Makefile +++ b/services/audit/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := audit +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-app/Makefile b/services/auth-app/Makefile index 597bd4ea9..4d2f8f1d7 100644 --- a/services/auth-app/Makefile +++ b/services/auth-app/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-app +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-basic/Makefile b/services/auth-basic/Makefile index 48665f35a..8d7cab3a8 100644 --- a/services/auth-basic/Makefile +++ b/services/auth-basic/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-basic +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-bearer/Makefile b/services/auth-bearer/Makefile index 46ec214a6..30bd5d69f 100644 --- a/services/auth-bearer/Makefile +++ b/services/auth-bearer/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-bearer +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-machine/Makefile b/services/auth-machine/Makefile index 0ce7b637e..ef21e4be4 100644 --- a/services/auth-machine/Makefile +++ b/services/auth-machine/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-machine +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/auth-service/Makefile b/services/auth-service/Makefile index e1b744c2c..e0bebf523 100644 --- a/services/auth-service/Makefile +++ b/services/auth-service/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := auth-service +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/clientlog/Makefile b/services/clientlog/Makefile index d7ac4ebc5..fa6927bab 100644 --- a/services/clientlog/Makefile +++ b/services/clientlog/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := clientlog +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/collaboration/Makefile b/services/collaboration/Makefile index 48e1e9a3c..c8273d6d0 100644 --- a/services/collaboration/Makefile +++ b/services/collaboration/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := collaboration +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/eventhistory/Makefile b/services/eventhistory/Makefile index 0cd2d08bc..62ed0bf39 100644 --- a/services/eventhistory/Makefile +++ b/services/eventhistory/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := eventhistory +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/frontend/Makefile b/services/frontend/Makefile index 7557b2fa1..1bdbc6834 100644 --- a/services/frontend/Makefile +++ b/services/frontend/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := frontend +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/gateway/Makefile b/services/gateway/Makefile index 76c811f99..8f7ba6f9d 100644 --- a/services/gateway/Makefile +++ b/services/gateway/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := gateway +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/graph/Makefile b/services/graph/Makefile index 0b276c194..8afc76527 100644 --- a/services/graph/Makefile +++ b/services/graph/Makefile @@ -3,7 +3,10 @@ NAME := graph OUTPUT_DIR = ./pkg/l10n TEMPLATE_FILE = ./pkg/l10n/graph.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/groups/Makefile b/services/groups/Makefile index 89ee2fec9..99f974c78 100644 --- a/services/groups/Makefile +++ b/services/groups/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := groups +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/idm/Makefile b/services/idm/Makefile index 33be9c75b..d8ba474d7 100644 --- a/services/idm/Makefile +++ b/services/idm/Makefile @@ -2,7 +2,10 @@ SHELL := bash NAME := idm TAGS := disable_crypt +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/idp/Makefile b/services/idp/Makefile index 60881b285..c94f9c153 100644 --- a/services/idp/Makefile +++ b/services/idp/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := idp +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/invitations/Makefile b/services/invitations/Makefile index 315a4fe94..5660dcb59 100644 --- a/services/invitations/Makefile +++ b/services/invitations/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := invitations +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/nats/Makefile b/services/nats/Makefile index 3d8714b05..a6ba55d98 100644 --- a/services/nats/Makefile +++ b/services/nats/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := nats +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/notifications/Makefile b/services/notifications/Makefile index 7896ab2f5..28944cbd5 100644 --- a/services/notifications/Makefile +++ b/services/notifications/Makefile @@ -3,7 +3,10 @@ NAME := notifications OUTPUT_DIR = ./pkg/email/l10n TEMPLATE_FILE = ./pkg/email/l10n/notifications.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocdav/Makefile b/services/ocdav/Makefile index 49bbbd962..89c152a20 100644 --- a/services/ocdav/Makefile +++ b/services/ocdav/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocdav +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocm/Makefile b/services/ocm/Makefile index 5fab56ee5..4dc5cb82f 100644 --- a/services/ocm/Makefile +++ b/services/ocm/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocm +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/ocs/Makefile b/services/ocs/Makefile index 519b1f25b..e03181e31 100644 --- a/services/ocs/Makefile +++ b/services/ocs/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := ocs +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/policies/Makefile b/services/policies/Makefile index 6864e7333..81c60e0cc 100644 --- a/services/policies/Makefile +++ b/services/policies/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := policies +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/postprocessing/Makefile b/services/postprocessing/Makefile index 28eb9b2df..255e6d323 100644 --- a/services/postprocessing/Makefile +++ b/services/postprocessing/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := postprocessing +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/proxy/Makefile b/services/proxy/Makefile index f5432b669..39a3bf50a 100644 --- a/services/proxy/Makefile +++ b/services/proxy/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := proxy +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/search/Makefile b/services/search/Makefile index 13306a347..cd1195517 100644 --- a/services/search/Makefile +++ b/services/search/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := search +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/settings/Makefile b/services/settings/Makefile index 5959b99ac..b8167cc52 100644 --- a/services/settings/Makefile +++ b/services/settings/Makefile @@ -3,7 +3,10 @@ NAME := settings OUTPUT_DIR = ./pkg/service/v0/l10n TEMPLATE_FILE = ./pkg/service/v0/l10n/settings.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/sharing/Makefile b/services/sharing/Makefile index 1a45c80f8..c9477dd79 100644 --- a/services/sharing/Makefile +++ b/services/sharing/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := sharing +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/sse/Makefile b/services/sse/Makefile index 88cb6e3ee..6c2f9b052 100644 --- a/services/sse/Makefile +++ b/services/sse/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := sse +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-publiclink/Makefile b/services/storage-publiclink/Makefile index 6bfb5ac80..abe0f4194 100644 --- a/services/storage-publiclink/Makefile +++ b/services/storage-publiclink/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-publiclink +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-shares/Makefile b/services/storage-shares/Makefile index 0fa3336d4..9589cfc11 100644 --- a/services/storage-shares/Makefile +++ b/services/storage-shares/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-shares +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-system/Makefile b/services/storage-system/Makefile index 1563091ca..4b93f7bf2 100644 --- a/services/storage-system/Makefile +++ b/services/storage-system/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-system +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/storage-users/Makefile b/services/storage-users/Makefile index 9e58af03c..03ddb2048 100644 --- a/services/storage-users/Makefile +++ b/services/storage-users/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := storage-users +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/thumbnails/Makefile b/services/thumbnails/Makefile index 26dfc76a2..14f556180 100644 --- a/services/thumbnails/Makefile +++ b/services/thumbnails/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := thumbnails +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/userlog/Makefile b/services/userlog/Makefile index a02cc84e2..002711c05 100644 --- a/services/userlog/Makefile +++ b/services/userlog/Makefile @@ -3,7 +3,10 @@ NAME := userlog OUTPUT_DIR = ./pkg/service/l10n TEMPLATE_FILE = ./pkg/service/l10n/userlog.pot +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/users/Makefile b/services/users/Makefile index 0cd926390..8c2e22d92 100644 --- a/services/users/Makefile +++ b/services/users/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := users +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/web/Makefile b/services/web/Makefile index 80d0059b3..1a8f7c9ce 100644 --- a/services/web/Makefile +++ b/services/web/Makefile @@ -3,7 +3,10 @@ NAME := web WEB_ASSETS_VERSION = v1.0.0 WEB_ASSETS_BRANCH = main +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/webdav/Makefile b/services/webdav/Makefile index d41d65abd..536a3cd72 100644 --- a/services/webdav/Makefile +++ b/services/webdav/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := webdav +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk diff --git a/services/webfinger/Makefile b/services/webfinger/Makefile index 15690e261..070f11d6b 100644 --- a/services/webfinger/Makefile +++ b/services/webfinger/Makefile @@ -1,7 +1,10 @@ SHELL := bash NAME := webfinger +ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI include ../../.bingo/Variables.mk +endif + include ../../.make/default.mk include ../../.make/recursion.mk include ../../.make/go.mk