blob: af5d1aacfba7c1311fab57c4d13946be6e7f04fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#! /bin/sh
aclocal -I lib
autoconf
autoheader
automake --add-missing --copy
if [ -f debian/rules ] ; then
chmod +x debian/rules
fi
# 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
|