aps/man/manmake.sh

19 lines
378 B
Bash
Raw Normal View History

# clean everything
function clean(){
set -x
rm aps.8
rm alnux-pkg-standard.7
}
function panbuild(){
set -x
pandoc aps.8.md -f markdown -t man -o aps.8 -s
pandoc alnux-pkg-standard.7.md -f markdown -t man -o alnux-pkg-standard.7 -s
}
function main(){
case $1 in
panbuild) panbuild ;;
clean) clean ;;
*) panbuild ;;
esac
}
main $1