#!/bin/sh # # man_xorrisofs_to_html.sh - ts A80118 , B10309 # # Generates a HTML version of man page xorrisofs.1 # # To be executed in the libisoburn toplevel directory (eg. ./libisoburn-0.1.0) # # set -x man_dir=$(pwd)"/xorriso" export MANPATH="$man_dir" manpage="xorrisofs" raw_html=$(pwd)/"xorriso/raw_man_1_xorrisofs.html" htmlpage=$(pwd)/"xorriso/man_1_xorrisofs.html" if test -r "$man_dir"/"$manpage".1 then dummy=dummy else echo "Cannot find readable man page source $1" >&2 exit 1 fi if test -e "$man_dir"/man1 then dummy=dummy else ln -s . "$man_dir"/man1 fi if test "$1" = "-work_as_filter" then # set -x sed \ -e 's///' \ -e 's///' \ -e 's/