Create expired cert for testing purposes. Updated tests to check
[monitoring-plugins.git] / autogen.sh
blobc584309fff8a8ab9ea6d8f0c668d9f2a5f1178ab
1 #!/bin/sh
3 # Requires: automake, autoconf, dpkg-dev
4 # set -e
6 ./tools/setup
8 # For the Debian build
9 test -d debian && {
10 # Kill executable list first
11 rm -f debian/executable.files
13 # Make sure our executable and removable lists won't be screwed up
14 debclean && echo Cleaned buildtree just in case...
16 # refresh list of executable scripts, to avoid possible breakage if
17 # upstream tarball does not include the file or if it is mispackaged
18 # for whatever reason.
19 echo Generating list of executable files...
20 rm -f debian/executable.files
21 find -type f -perm +111 ! -name '.*' -fprint debian/executable.files
23 # link these in Debian builds
24 rm -f config.sub config.guess
25 ln -s /usr/share/misc/config.sub .
26 ln -s /usr/share/misc/config.guess .
29 ./configure $*
31 exit 0