#!/bin/sh CONVERT="mandoc -T html -O style=mandoc.css" for f in got.1 got-worktree.5 git-repository.5 got.conf.5; do $CONVERT $HOME/src/got/got/$f > ./${f}.html done $CONVERT $HOME/src/got/gotadmin/gotadmin.1 > ./gotadmin.1.html $CONVERT $HOME/src/got/tog/tog.1 > ./tog.1.html for f in gotwebd.8 gotwebd.conf.5; do $CONVERT $HOME/src/got/gotwebd/$f > ./${f}.html done for f in gotd.8 gotd.conf.5; do $CONVERT $HOME/src/got/gotd/$f > ./${f}.html done $CONVERT $HOME/src/got/gotsh/gotsh.1 > ./gotsh.1.html $CONVERT $HOME/src/got/gotctl/gotctl.8 > ./gotctl.8.html $CONVERT $HOME/src/got/gitwrapper/gitwrapper.1 > ./gitwrapper.1.html got st