2002-02-28 01:42:51 -05:00
|
|
|
#! /bin/sh
|
2002-10-17 02:06:44 -04:00
|
|
|
|
2003-02-19 03:36:39 -05:00
|
|
|
aclocal -I lib
|
2002-10-17 02:06:44 -04:00
|
|
|
autoconf
|
2003-02-09 13:59:53 -05:00
|
|
|
autoheader
|
2003-03-07 17:11:25 -05:00
|
|
|
automake --add-missing --copy
|
2002-10-17 02:06:44 -04:00
|
|
|
|
2002-10-30 13:22:10 -05:00
|
|
|
if [ -f debian/rules ] ; then
|
|
|
|
|
chmod +x debian/rules
|
|
|
|
|
fi
|
2003-05-13 18:03:48 -04:00
|
|
|
|
2003-06-27 06:30:47 -04:00
|
|
|
# Lots of fiddling as Solaris' which command does give error if which fails
|
|
|
|
|
docbook=0
|
|
|
|
|
if [ `uname -s` = "SunOS" ] ; then
|
|
|
|
|
if [ "`which docbook2html`" = "/"* ] ; then
|
|
|
|
|
docbook=1
|
|
|
|
|
fi
|
|
|
|
|
else
|
|
|
|
|
if which docbook2html ; then
|
|
|
|
|
docbook=1
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [ $docbook = 1 ] ; then
|
|
|
|
|
cd doc && make
|
|
|
|
|
fi
|