X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=057c6296a8a9490ab044400cac32bd5cd954800b;hp=c6f02f4e294243ee656d37e0e915336a1b72fbe7;hb=299d1636596a1911659e0a53bfad5c47e72835e0;hpb=58f824a51a3d59c54d24dd2e2a96afda4493b4b4 diff --git a/MakeMakefile b/MakeMakefile index c6f02f4..057c629 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 :