summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e85f406)
raw | patch | inline | side by side (parent: e85f406)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 27 Jun 2003 10:30:47 +0000 (10:30 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Fri, 27 Jun 2003 10:30:47 +0000 (10:30 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@559 f882894a-f735-0410-b71e-b25c423dba1c
tools/setup | patch | blob | history |
diff --git a/tools/setup b/tools/setup
index bbc82669285deeaf7164784e7fa44593bd608672..af5d1aacfba7c1311fab57c4d13946be6e7f04fe 100755 (executable)
--- a/tools/setup
+++ b/tools/setup
chmod +x debian/rules
fi
-cd doc && make
+# 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