X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=057c6296a8a9490ab044400cac32bd5cd954800b;hp=c936d002201e0fcb923e36afa59aff7f35ecc269;hb=299d1636596a1911659e0a53bfad5c47e72835e0;hpb=5fc7ff89bdbced9c593c566fea9840a269935dcd diff --git a/MakeMakefile b/MakeMakefile index c936d00..057c629 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 libtoolize --copy --force autoheader --force $aclocal $automake --foreign --add-missing --force-missing --copy autoconf --force + +# vim: set syntax=sh :