X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=MakeMakefile;h=ba642cf92a2aa6f2fc369078b38c9bb910219556;hb=b703e31f292230fdd0c6269c4a649bc6d0f6cd1b;hp=89a316cfa79de56c373746761fec6b8b90ed64a4;hpb=7a9d68be2cc25c1245e667d5e81c6efabeeebc28;p=rrdtool.git diff --git a/MakeMakefile b/MakeMakefile index 89a316c..ba642cf 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -3,11 +3,14 @@ # Run this script after the first cvs checkout to build # makefiles and friends +PATH="/usr/sepp/bin:$PATH" +export PATH + vcheck (){ perl <= 0.35.0" + ERROR=1 +fi + if [ $ERROR -ne 0 ] then exit 1 fi # cleanup -set -x -find . -name Makefile | xargs rm -f _UNKNONW_ -find . -name "*.la" | xargs rm -f -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 --warnings=all --force +autoheader --force $aclocal -$automake --foreign --add-missing --force-missing --copy --warnings=all -autoconf --warnings=all --force -# one again to make every body happy +$automake --foreign --add-missing --force-missing --copy +autoconf --force -autoreconf +# vim: set syntax=sh :