From 244a51337729a5fdb6af7a4ddf096ae52fd15264 Mon Sep 17 00:00:00 2001 From: Bob Haddleton Date: Sun, 30 Apr 2023 22:34:34 -0500 Subject: [PATCH] Fix Makefile default target. Signed-off-by: Bob Haddleton --- Makefile | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 38c3c95..002337f 100644 --- a/Makefile +++ b/Makefile @@ -44,6 +44,20 @@ USE_HELM3 = true IMAGES = provider-helm -include build/makelib/imagelight.mk +# ==================================================================================== +# Targets + +# run `make help` to see the targets and options + +# We want submodules to be set up the first time `make` is run. +# We manage the build/ folder and its Makefiles as a submodule. +# The first time `make` is run, the includes of build/*.mk files will +# all fail, and this target will be run. The next time, the default as defined +# by the includes will be run instead. +fallthrough: submodules + @echo Initial setup complete. Running make again . . . + @make + # ==================================================================================== # Setup XPKG @@ -63,19 +77,6 @@ xpkg.build.provider-helm: do.build.images -include build/makelib/local.mk local-dev: local.up local.deploy.crossplane -# ==================================================================================== -# Targets - -# run `make help` to see the targets and options - -# We want submodules to be set up the first time `make` is run. -# We manage the build/ folder and its Makefiles as a submodule. -# The first time `make` is run, the includes of build/*.mk files will -# all fail, and this target will be run. The next time, the default as defined -# by the includes will be run instead. -fallthrough: submodules - @echo Initial setup complete. Running make again . . . - @make # Generate a coverage report for cobertura applying exclusions on # - generated file