1 #! /bin/sh
3 aclocal -I lib
4 autoconf
5 autoheader
6 automake --add-missing --copy
8 if [ -f debian/rules ] ; then
9 chmod +x debian/rules
10 fi
12 # Lots of fiddling as Solaris' which command does give error if which fails
13 docbook=0
14 if [ `uname -s` = "SunOS" ] ; then
15 if [ "`which docbook2html`" = "/"* ] ; then
16 docbook=1
17 fi
18 else
19 if which docbook2html ; then
20 docbook=1
21 fi
22 fi
24 if [ $docbook = 1 ] ; then
25 cd doc && make
26 fi