2016-01-08 22:46:06 -05:00
|
|
|
all: yadm.md contrib
|
2015-07-16 20:38:17 -04:00
|
|
|
|
|
|
|
yadm.md: yadm.1
|
|
|
|
@groff -man -Tascii ./yadm.1 | col -bx | sed 's/^[A-Z]/## &/g' | sed '/yadm(1)/d' > yadm.md
|
|
|
|
|
2016-01-08 22:46:06 -05:00
|
|
|
contrib:
|
|
|
|
@echo "CONTRIBUTORS\n" > CONTRIBUTORS
|
|
|
|
@git shortlog -ns | cut -f2 >> CONTRIBUTORS
|
|
|
|
|
2015-07-16 20:38:17 -04:00
|
|
|
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
|