Create make targets for processing documentation
This commit is contained in:
parent
5c0237c4b6
commit
f1a75db991
1 changed files with 16 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
all: yadm.md
|
||||||
|
|
||||||
|
yadm.md: yadm.1
|
||||||
|
@groff -man -Tascii ./yadm.1 | col -bx | sed 's/^[A-Z]/## &/g' | sed '/yadm(1)/d' > yadm.md
|
||||||
|
|
||||||
|
pdf:
|
||||||
|
@groff -man -Tps ./yadm.1 > yadm.ps
|
||||||
|
@open yadm.ps
|
||||||
|
@sleep 1
|
||||||
|
@rm yadm.ps
|
||||||
|
|
||||||
|
man:
|
||||||
|
groff -man -Tascii ./yadm.1 | less
|
||||||
|
|
||||||
|
wide:
|
||||||
|
man ./yadm.1
|
Loading…
Reference in a new issue