X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=MakeMakefile;h=ba642cf92a2aa6f2fc369078b38c9bb910219556;hb=b52501e79a33df06a0f67203c2e1b57cafdc6fdf;hp=4aba88c6fcd3d98a9290ec1c17bb0f819aba2f9e;hpb=d8c6bad0b7fa3852c16c1bdd65f9ce079e6920c7;p=rrdtool.git diff --git a/MakeMakefile b/MakeMakefile index 4aba88c..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 --force $aclocal -$automake --foreign --add-missing --force-missing --copy --warnings=all -autoconf --warnings=all --force -rm config.h.in -autoheader --warnings=all --force - +$automake --foreign --add-missing --force-missing --copy +autoconf --force +# vim: set syntax=sh :