From 6b9141d8520ff6edfea3274336cdc91babcb64c5 Mon Sep 17 00:00:00 2001 From: David Allen Date: Mon, 16 Sep 2024 10:29:41 -0600 Subject: [PATCH] Updated Makefile to include magellan.1 rule --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"