aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Evich <1183438+cevich@users.noreply.github.com>2022-09-27 13:09:18 -0400
committerGitHub <noreply@github.com>2022-09-27 13:09:18 -0400
commitcbc7185d1fc30fdb24466ccaaa5680aa10f67dd1 (patch)
treee61eecaa1d9163cc3d7d0481588a8a8ee1e8c3c5 /Makefile
parent23a30661ad390e3a52fd99de241baa9e8d179e09 (diff)
parent0fb95f95d2af7bcc2529f896fec9904b3357b580 (diff)
downloadpodman-cbc7185d1fc30fdb24466ccaaa5680aa10f67dd1.tar.gz
podman-cbc7185d1fc30fdb24466ccaaa5680aa10f67dd1.tar.bz2
podman-cbc7185d1fc30fdb24466ccaaa5680aa10f67dd1.zip
Merge pull request #15896 from edsantiago/dont_install_tools
CI: only make install.tools when needed
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a42f1f181..f62273965 100644
--- a/Makefile
+++ b/Makefile
@@ -850,12 +850,20 @@ endif
.PHONY: install.tools
install.tools: .install.ginkgo .install.golangci-lint ## Install needed tools
- make -C test/tools
+ $(MAKE) -C test/tools
+
+.PHONY: .install.goimports
+.install.goimports:
+ $(MAKE) -C test/tools build/goimports
.PHONY: .install.ginkgo
.install.ginkgo:
$(GO) install $(BUILDFLAGS) ./vendor/github.com/onsi/ginkgo/ginkgo
+.PHONY: .install.gitvalidation
+.install.gitvalidation:
+ $(MAKE) -C test/tools build/git-validation
+
.PHONY: .install.golangci-lint
.install.golangci-lint:
VERSION=1.46.2 ./hack/install_golangci.sh
@@ -863,7 +871,7 @@ install.tools: .install.ginkgo .install.golangci-lint ## Install needed tools
.PHONY: .install.md2man
.install.md2man:
if [ ! -x "$(GOMD2MAN)" ]; then \
- make -C test/tools build/go-md2man ; \
+ $(MAKE) -C test/tools build/go-md2man ; \
fi
.PHONY: .install.pre-commit