Code

Renamed altered tap file to nagios-plugins
[nagiosplug.git] / tools / setup
index 39c6f74a30aaa3fe6fa53cb5f7c532b124e4e6b5..866664e6bf387098006c52dde91f4f2ccb0b98c7 100755 (executable)
@@ -18,8 +18,14 @@ else
        echo Found GNU Make at $MAKE ... good.
 fi
 
-autopoint --force
-aclocal -I m4
+# This bit is to fix SF's compile server as libtool not installed by default
+extra=""
+if test -d $HOME/share/aclocal ; then
+       extra="-I $HOME/share/aclocal"
+fi
+
+aclocal -I gl/m4 -I m4 $extra
+#libtoolize --force --copy
 autoheader
 automake --add-missing --force-missing --copy
 autoconf
@@ -41,5 +47,8 @@ else
 fi
 
 if [ $docbook = 1 ] ; then
-       cd doc && make
+       ( cd doc && make )
 fi
+
+# Untar libtap
+( cd external && tar --gzip -xf tap-1.01-nagios-plugins.tar.gz )