Updated Makefile to include magellan.1 rule

This commit is contained in:
David Allen 2024-09-16 10:29:41 -06:00
parent 45056e3736
commit 6b9141d852
No known key found for this signature in database
GPG key ID: 717C593FF60A2ACC

View file

@ -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"