mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Automatically update manpage header when generating docs.
This commit is contained in:
parent
a876bc1f39
commit
0cbfd764f5
3
Makefile
3
Makefile
@ -11,6 +11,9 @@ uninstall:
|
|||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs:
|
docs:
|
||||||
|
@echo "% autojump(1) ${TAGNAME}" >docs/manpage_header.md
|
||||||
|
@echo "%" >>docs/manpage_header.md
|
||||||
|
@echo "% $(shell \date +%Y-%m-%d)" >>docs/manpage_header.md
|
||||||
pandoc -s -w man docs/manpage_header.md docs/header.md docs/body.md -o docs/autojump.1
|
pandoc -s -w man docs/manpage_header.md docs/header.md docs/body.md -o docs/autojump.1
|
||||||
pandoc -s -w markdown docs/header.md docs/install.md docs/body.md -o README.md
|
pandoc -s -w markdown docs/header.md docs/install.md docs/body.md -o README.md
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user