Blame


1 3aab66ae 2024-08-19 op #!/bin/sh -e
2 c2f72a2a 2019-08-13 stsp
3 29a31cfb 2024-08-19 op workdir="$HOME/src/got"
4 29a31cfb 2024-08-19 op
5 29a31cfb 2024-08-19 op while getopts w: name; do
6 29a31cfb 2024-08-19 op case $name in
7 29a31cfb 2024-08-19 op w) workdir="$OPTARG" ;;
8 29a31cfb 2024-08-19 op ?) echo "Usage: $0 [-w workdir]" >&2; exit 1 ;;
9 29a31cfb 2024-08-19 op esac
10 29a31cfb 2024-08-19 op done
11 29a31cfb 2024-08-19 op
12 ca23949e 2024-08-19 op for f in \
13 ca23949e 2024-08-19 op got/got.1 got/got-worktree.5 got/git-repository.5 got/got.conf.5 \
14 ca23949e 2024-08-19 op gotadmin/gotadmin.1 \
15 ca23949e 2024-08-19 op tog/tog.1 \
16 ca23949e 2024-08-19 op gotwebd/gotwebd.8 gotwebd/gotwebd.conf.5 \
17 7196cfe5 2024-09-09 stsp gotd/gotd.8 gotd/gotd.conf.5 gotd/gotd-secrets.conf.5 \
18 ca23949e 2024-08-19 op gotsh/gotsh.1 \
19 ca23949e 2024-08-19 op gotctl/gotctl.8 \
20 ca23949e 2024-08-19 op gitwrapper/gitwrapper.1 \
21 ca23949e 2024-08-19 op ; do
22 ca23949e 2024-08-19 op mandoc -T html -O style=mandoc.css "$workdir/$f" > ./${f##*/}.html
23 c2f72a2a 2019-08-13 stsp done
24 c2f72a2a 2019-08-13 stsp
25 40547f9e 2020-09-17 stsp got st