mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Updated Makefile to include magellan.1 rule
This commit is contained in:
parent
45056e3736
commit
6b9141d852
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
|
@ -104,9 +104,13 @@ emulator:
|
||||||
$(call print-target)
|
$(call print-target)
|
||||||
./emulator/setup.sh
|
./emulator/setup.sh
|
||||||
|
|
||||||
|
magellan.1: README.md inst
|
||||||
|
$(GOPATH)/bin/go-md2man -in $< -out $@
|
||||||
|
|
||||||
|
.PHONY: man
|
||||||
man:
|
man:
|
||||||
$(call print-target)
|
$(call print-target)
|
||||||
$(GOPATH)/bin/go-md2man -in README.md -out magellan.1
|
$(MAKE) -f $(firstword $(MAKEFILE_LIST)) magellan.1
|
||||||
|
|
||||||
define print-target
|
define print-target
|
||||||
@printf "Executing target: \033[36m$@\033[0m\n"
|
@printf "Executing target: \033[36m$@\033[0m\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue