X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=MakeMakefile;h=f945d3b696be099a73d4d0263a1a716f3be58c34;hb=f3816cb9cea7ce0b5390afe5508b5f209ec7a52a;hp=854e879d283dd6c8498dd57279d03bdd619e7cfc;hpb=df4389682796c797aea62ff86e154f543f7f5250;p=rrdtool.git diff --git a/MakeMakefile b/MakeMakefile index 854e879..f945d3b 100755 --- a/MakeMakefile +++ b/MakeMakefile @@ -3,14 +3,14 @@ # Run this script after the first cvs checkout to build # makefiles and friends -PATH="/usr/sepp/bin:$PATH" -export PATH +#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 +# remove the bits we are going to recreate +echo Removing old Makefiles +touch Makefile +find . -name "Makefile" -or -name "Makefile.in" -print0 | xargs -0 rm +echo Cleaning out other leftovers +for x in configure install-sh intltool-merge.in rrd_config.h.in \ + missing intltool-update po/Makefile.in.in config.sub \ + intltool-extract intltool-extract.in config.guess \ + depcomp intltool-update.in autom4te.cache \ + intltool-merge compile; do + [ ! -L $x -a -d $x ] && rm -r "$x" + [ ! -L $x -a -f $x ] && rm "$x" +done +set -x +intltoolize --automake -c -f $aclocal libtoolize --copy --force autoheader --force $aclocal $automake --foreign --add-missing --force-missing --copy autoconf --force + +# vim: set syntax=sh :