aps/man/manmake.sh

19 lines
No EOL
378 B
Bash
Executable file

# 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