X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=057c6296a8a9490ab044400cac32bd5cd954800b;hp=46bfd3050ae29f763f5a523faed1d020fd95b763;hb=299d1636596a1911659e0a53bfad5c47e72835e0;hpb=47e52da37afbb8a05aa96e5a59d1fe0a3795b741 diff --git a/MakeMakefile b/MakeMakefile index 46bfd30..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 -$automake --foreign --add-missing --force-missing --copy --warnings=all -autoconf --warnings=all --force -#rm config.h.in -#autoheader --warnings=all --force +autoheader --force +$aclocal +$automake --foreign --add-missing --force-missing --copy +autoconf --force + +# vim: set syntax=sh :