diff options
Diffstat (limited to 'debian/opensync/opensync-0.22/misc/buildtest.sh')
-rwxr-xr-x | debian/opensync/opensync-0.22/misc/buildtest.sh | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/debian/opensync/opensync-0.22/misc/buildtest.sh b/debian/opensync/opensync-0.22/misc/buildtest.sh deleted file mode 100755 index 4a69011c..00000000 --- a/debian/opensync/opensync-0.22/misc/buildtest.sh +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/bash - -echo -n "Cleaning Stuff now" - -rm -rf _inst > /dev/null -echo -n "." -rm -rf libopensync-0.?? > /dev/null -echo -n "." -rm -f libopensync-0.??.tar.gz > /dev/null -echo "." - -TOP_SRCDIR=$(pwd) - -echo -n "Making sure build environment is sane" -autoreconf -sfi > /dev/null -echo -n "." -./configure > /dev/null -echo -n "." -make clean > /dev/null || exit 1 -echo "." - -echo "Making tarball" -make dist > /dev/null || exit 1 - -mkdir _inst > /dev/null -rm -rf libopensync-0.?? - -echo "Unpacking tarball" -tar zxvf libopensync-0.??.tar.gz > /dev/null || exit 1 - -cd libopensync-0.?? - -echo -n "Checking if configure is working" -./configure --enable-tests=no --disable-python > /dev/null || exit 1 -echo -n "Making OpenSync" -autoreconf -sfi > /dev/null -echo -n "." -./configure --prefix=$TOP_SRCDIR/_inst > /dev/null || exit 1 -echo -n "." -make install > /dev/null || exit 1 -echo "." - -echo "Makeing clean" -make distclean > /dev/null || exit 1 - -echo -n "Making OpenSync" -./configure --enable-tests=no --enable-python --prefix=$TOP_SRCDIR/_inst > /dev/null || exit 1 -echo -n "." -make install > /dev/null || exit 1 -echo "." - -cd $TOP_SRCDIR/docs/example-plugin - -echo -n "Making example plugin" -export PKG_CONFIG_PATH=$TOP_SRCDIR/_inst/lib -autoreconf -sfi > /dev/null -echo -n "." -./configure --prefix=$TOP_SRCDIR/_inst > /dev/null || exit 1 -echo -n "." -make install > /dev/null || exit 1 -echo -n "." -make distclean > /dev/null || exit 1 -echo "." - -cd $TOP_SRCDIR/libopensync-0.?? || exit 1 - -echo "Running tests now." -make check || exit 1 - -cd $TOP_SRCDIR - -rm -rf _inst -rm -rf libopensync-0.?? - -echo "Everyting went fine!" |