mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-19 02:27:55 -05:00
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@559 f882894a-f735-0410-b71e-b25c423dba1c
26 lines
419 B
Bash
Executable file
26 lines
419 B
Bash
Executable file
#! /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
|