summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 9014b81f7..7d307793c 100644
--- a/Makefile
+++ b/Makefile
@@ -462,15 +462,7 @@ podman-remote-%-release:
BINDINGS_SOURCE = $(wildcard pkg/bindings/**/types.go)
.generate-bindings: $(BINDINGS_SOURCE)
ifneq ($(shell uname -s), Darwin)
- for i in $(BINDINGS_SOURCE); do \
- dirname=$$(dirname $${i}); \
- shortname=$$(basename $${dirname}); \
- pushd $${dirname}>/dev/null; \
- echo $${dirname}; \
- echo $(GO) generate; \
- $(GO) generate -mod=vendor; \
- popd > /dev/null; \
- done;
+ $(GO) generate -mod=vendor ./pkg/bindings/... ;
endif
touch .generate-bindings