diff --git a/Makefile b/Makefile index 2b199266d..0625e20ef 100644 --- a/Makefile +++ b/Makefile @@ -280,7 +280,7 @@ bin/containerd-shim-runc-v2: cmd/containerd-shim-runc-v2 FORCE # set !cgo and om binaries: $(BINARIES) ## build binaries @echo "$(WHALE) $@" -man: mandir $(addprefix man/,$(MANPAGES)) +man: $(addprefix man/,$(MANPAGES)) @echo "$(WHALE) $@" mandir: @@ -289,15 +289,15 @@ mandir: # Kept for backwards compatibility genman: man/containerd.8 man/ctr.8 -man/containerd.8: bin/gen-manpages FORCE +man/containerd.8: bin/gen-manpages FORCE | mandir @echo "$(WHALE) $@" $< $(@F) $(@D) -man/ctr.8: bin/gen-manpages FORCE +man/ctr.8: bin/gen-manpages FORCE | mandir @echo "$(WHALE) $@" $< $(@F) $(@D) -man/%: docs/man/%.md FORCE +man/%: docs/man/%.md FORCE | mandir @echo "$(WHALE) $@" go-md2man -in "$<" -out "$@"