Blob
1 #!/bin/sh -e3 workdir="$HOME/src/got"5 while getopts w: name; do6 case $name in7 w) workdir="$OPTARG" ;;8 ?) echo "Usage: $0 [-w workdir]" >&2; exit 1 ;;9 esac10 done12 for f in \13 got/got.1 got/got-worktree.5 got/git-repository.5 got/got.conf.5 \14 gotadmin/gotadmin.1 \15 tog/tog.1 \16 gotwebd/gotwebd.8 gotwebd/gotwebd.conf.5 \17 gotd/gotd.8 gotd/gotd.conf.5 gotd/gotd-secrets.conf.5 \18 gotsh/gotsh.1 \19 gotctl/gotctl.8 \20 gitwrapper/gitwrapper.1 \21 ; do22 mandoc -T html -O style=mandoc.css "$workdir/$f" > ./${f##*/}.html23 done25 got st