19 lines
378 B
Bash
19 lines
378 B
Bash
|
# 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
|