diff --git a/Makefile b/Makefile index 848646c..3285e00 100644 --- a/Makefile +++ b/Makefile @@ -104,9 +104,13 @@ emulator: $(call print-target) ./emulator/setup.sh +magellan.1: README.md inst + $(GOPATH)/bin/go-md2man -in $< -out $@ + +.PHONY: man man: $(call print-target) - $(GOPATH)/bin/go-md2man -in README.md -out magellan.1 + $(MAKE) -f $(firstword $(MAKEFILE_LIST)) magellan.1 define print-target @printf "Executing target: \033[36m$@\033[0m\n"