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 <info@metux.net>
This commit is contained in:
parent
f60d447c16
commit
2bb8ad7c9e
4
Makefile
4
Makefile
@ -244,11 +244,11 @@ genman: man/containerd.8 man/ctr.8
|
||||
|
||||
man/containerd.8: FORCE
|
||||
@echo "$(WHALE) $@"
|
||||
$(GO) run cmd/gen-manpages/main.go $(@F) $(@D)
|
||||
$(GO) run ${GO_TAGS} cmd/gen-manpages/main.go $(@F) $(@D)
|
||||
|
||||
man/ctr.8: FORCE
|
||||
@echo "$(WHALE) $@"
|
||||
$(GO) run cmd/gen-manpages/main.go $(@F) $(@D)
|
||||
$(GO) run ${GO_TAGS} cmd/gen-manpages/main.go $(@F) $(@D)
|
||||
|
||||
man/%: docs/man/%.md FORCE
|
||||
@echo "$(WHALE) $@"
|
||||
|
Loading…
Reference in New Issue
Block a user