瀏覽代碼

Automatically update manpage header when generating docs.

pull/495/merge
William Ting 6 年之前
父節點
當前提交
0cbfd764f5
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      Makefile

+ 3
- 0
Makefile 查看文件

@ -11,6 +11,9 @@ uninstall:
.PHONY: 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 markdown docs/header.md docs/install.md docs/body.md -o README.md

Loading…
取消
儲存