From ac45a83d0caa5786544acc8170f3fdedd2f3691a 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@1313 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/MakeMakefile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/program/MakeMakefile b/program/MakeMakefile index a95542e4..ba642cf9 100755 --- a/program/MakeMakefile +++ b/program/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.30.2