File tree Expand file tree Collapse file tree 3 files changed +8
-16
lines changed Expand file tree Collapse file tree 3 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ APIDIFF_OLD_COMMIT ?= $(shell git rev-parse origin/main)
316
316
apidiff : $(GO_APIDIFF ) # # Check for API differences
317
317
$(GO_APIDIFF ) $(APIDIFF_OLD_COMMIT ) --print-compatible
318
318
319
- ALL_VERIFY_CHECKS = doctoc boilerplate shellcheck tiltfile modules gen conversions docker-provider book-links
319
+ ALL_VERIFY_CHECKS = doctoc boilerplate shellcheck tiltfile modules gen conversions docker-provider
320
320
321
321
.PHONY : verify
322
322
verify : $(addprefix verify-,$(ALL_VERIFY_CHECKS ) ) # # Run all verify-* targets
@@ -364,10 +364,6 @@ verify-docker-provider:
364
364
@echo " Verifying CAPD"
365
365
cd $(CAPD_DIR ) ; $(MAKE ) verify
366
366
367
- .PHONY : verify-book-links
368
- verify-book-links : # # Verify book links
369
- $(MAKE ) -C docs/book verify
370
-
371
367
# # --------------------------------------
372
368
# # Binaries
373
369
# # --------------------------------------
@@ -435,6 +431,10 @@ docker-build-kubeadm-control-plane: ## Build the docker image for kubeadm contro
435
431
e2e-framework : # # Builds the CAPI e2e framework
436
432
cd $(E2E_FRAMEWORK_DIR ) ; go build ./...
437
433
434
+ .PHONY : build-book
435
+ build-book : # # Build the book
436
+ $(MAKE ) -C docs/book build
437
+
438
438
.PHONY : serve-book
439
439
serve-book : # # Build and serve the book (with live-reload)
440
440
$(MAKE ) -C docs/book serve
Original file line number Diff line number Diff line change @@ -38,18 +38,10 @@ MDBOOK := $(TOOLS_BIN_DIR)/mdbook
38
38
$(MDBOOK ) :
39
39
$(CRATE_INSTALL ) --git rust-lang/mdBook --tag v0.4.11 --to $(TOOLS_BIN_DIR ) --force
40
40
41
- MDBOOK_LINKCHECK := $(TOOLS_BIN_DIR ) /mdbook-linkcheck
42
- $(MDBOOK_LINKCHECK ) :
43
- $(CRATE_INSTALL ) --git Michael-F-Bryan/mdbook-linkcheck --tag v0.7.0 --to $(TOOLS_BIN_DIR ) --force
44
-
45
41
.PHONY : serve
46
- serve : $(MDBOOK ) $(TABULATE ) $(EMBED ) $(RELEASELINK ) $( MDBOOK_LINKCHECK )
42
+ serve : $(MDBOOK ) $(TABULATE ) $(EMBED ) $(RELEASELINK )
47
43
$(MDBOOK ) serve
48
44
49
45
.PHONY : build
50
- build : $(MDBOOK ) $(TABULATE ) $(EMBED ) $(RELEASELINK ) $(MDBOOK_LINKCHECK )
51
- $(MDBOOK ) build
52
-
53
- .PHONY : verify
54
- verify : $(MDBOOK ) $(TABULATE ) $(EMBED ) $(RELEASELINK ) $(MDBOOK_LINKCHECK )
46
+ build : $(MDBOOK ) $(TABULATE ) $(EMBED ) $(RELEASELINK )
55
47
$(MDBOOK ) build
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ set -o pipefail
21
21
REPO_ROOT=$( dirname " ${BASH_SOURCE[0]} " ) /..
22
22
23
23
# Core Cluster API
24
- cd " ${REPO_ROOT} " && make managers clusterctl e2e-framework
24
+ cd " ${REPO_ROOT} " && make managers clusterctl e2e-framework build-book
25
25
26
26
echo " *** Building Cluster API Provider Docker ***"
27
27
# Docker provider
You can’t perform that action at this time.
0 commit comments