From cbb3228d48d37485dbf539289b5ad685073416d9 Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 25 Mar 2008 22:49:47 +0000 Subject: [PATCH] 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 --- MakeMakefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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 : -- 2.11.0