aps/man/manmake.sh

27 lines
548 B
Bash
Raw Normal View History

# clean everything
function clean(){
set -x
rm aps.8
rm alnux-pkg-standard.7
rm sel.7
rm repo.7
rm mkinitramfs.8
rm chroot-al.1
}
2021-10-06 20:37:46 +03:00
function scdocbuild(){
set -x
2021-10-06 20:37:46 +03:00
scdoc < aps.8.md > aps.8
scdoc < alnux-pkg-standard.7.md > alnux-pkg-standard.7
scdoc < sel.7.md > sel.7
scdoc < repo.7.md > repo.7
scdoc < mkinitramfs.8.md > mkinitramfs.8
scdoc < chroot-al.1.md > chroot-al.1
}
function main(){
case $1 in
scdocbuild) scdocbuild ;;
clean) clean ;;
*) scdocbuild ;;
esac
}
main $1