Skip to content

Commit 2bb8ad7

Browse files
committed
Makefile: pass build tags to manpage build process
The 'go run' command in manpage build stage currently doesn't know about build tags yet. This could lead to strange effects when eg. optional deps are switched off. Therefore also pass the tags to the 'go run' calls. Signed-off-by: Enrico Weigelt, metux IT consult <[email protected]>
1 parent f60d447 commit 2bb8ad7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,11 @@ genman: man/containerd.8 man/ctr.8
244244

245245
man/containerd.8: FORCE
246246
@echo "$(WHALE) $@"
247-
$(GO) run cmd/gen-manpages/main.go $(@F) $(@D)
247+
$(GO) run ${GO_TAGS} cmd/gen-manpages/main.go $(@F) $(@D)
248248

249249
man/ctr.8: FORCE
250250
@echo "$(WHALE) $@"
251-
$(GO) run cmd/gen-manpages/main.go $(@F) $(@D)
251+
$(GO) run ${GO_TAGS} cmd/gen-manpages/main.go $(@F) $(@D)
252252

253253
man/%: docs/man/%.md FORCE
254254
@echo "$(WHALE) $@"

0 commit comments

Comments
 (0)