Skip to content

Commit 244a513

Browse files
committed
Fix Makefile default target.
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
1 parent 913df5d commit 244a513

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

Makefile

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ USE_HELM3 = true
4444
IMAGES = provider-helm
4545
-include build/makelib/imagelight.mk
4646

47+
# ====================================================================================
48+
# Targets
49+
50+
# run `make help` to see the targets and options
51+
52+
# We want submodules to be set up the first time `make` is run.
53+
# We manage the build/ folder and its Makefiles as a submodule.
54+
# The first time `make` is run, the includes of build/*.mk files will
55+
# all fail, and this target will be run. The next time, the default as defined
56+
# by the includes will be run instead.
57+
fallthrough: submodules
58+
@echo Initial setup complete. Running make again . . .
59+
@make
60+
4761
# ====================================================================================
4862
# Setup XPKG
4963

@@ -63,19 +77,6 @@ xpkg.build.provider-helm: do.build.images
6377
-include build/makelib/local.mk
6478

6579
local-dev: local.up local.deploy.crossplane
66-
# ====================================================================================
67-
# Targets
68-
69-
# run `make help` to see the targets and options
70-
71-
# We want submodules to be set up the first time `make` is run.
72-
# We manage the build/ folder and its Makefiles as a submodule.
73-
# The first time `make` is run, the includes of build/*.mk files will
74-
# all fail, and this target will be run. The next time, the default as defined
75-
# by the includes will be run instead.
76-
fallthrough: submodules
77-
@echo Initial setup complete. Running make again . . .
78-
@make
7980

8081
# Generate a coverage report for cobertura applying exclusions on
8182
# - generated file

0 commit comments

Comments
 (0)