From: oetiker Date: Tue, 25 Mar 2008 22:49:47 +0000 (+0000) Subject: Added check for intltool version. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cbb3228d48d37485dbf539289b5ad685073416d9;p=rrdtool.git Added check for intltool version. Use Makefile for cleanup. -- Florian octo Forster git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1313 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/MakeMakefile b/MakeMakefile index a95542e..ba642cf 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -10,7 +10,7 @@ vcheck (){ perl <= 0.35.0" + ERROR=1 +fi + if [ $ERROR -ne 0 ] then exit 1 fi # cleanup -set -x -find . -name Makefile | grep -v win32 | grep -v netware | xargs rm -f _UNKNONW_ -find . -name "*.la" | xargs rm -f _UNKNOWN_ -find . -name Makefile.in | xargs rm -f _UNKNONW_ -find . -name .libs | xargs rm -r -find . -name .debs | xargs rm -r +if [ -e Makefile ] +then + make clean >/dev/null +fi intltoolize --automake -c -f $aclocal @@ -69,3 +73,5 @@ autoheader --force $aclocal $automake --foreign --add-missing --force-missing --copy autoconf --force + +# vim: set syntax=sh :