#!/bin/sh
#

prefix=/usr
datarootdir=${prefix}/share
gtkdocdir=${datarootdir}/gtk-doc/

if test "x$1" = "x--version"; then
      echo "1.9"
      exit 0
fi

for i in `cd sgml;ls *.sgml`
do j=`echo $i | sed 's/.sgml/.man/'`
echo ": converting " $i $j
docbook-to-man sgml/$i > man/$j 2> man/$j.log
done
