X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=MakeMakefile;h=aca14ccfbbbdb9c1e3c99eda2fb73c4c6e4cd0c1;hp=2747220409174664b79dd89ddfb7c0c1d8a43ebd;hb=a9f9c7a945caf1df7b8291755a5586313c018e41;hpb=b7d9dcba7690722167ed5714aacbab7dd40cf5bb diff --git a/MakeMakefile b/MakeMakefile index 2747220..aca14cc 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 +# 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 --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 -$aclocal -$automake --foreign -autoconf -autoheader +$automake --foreign --add-missing --force-missing --copy +autoconf --force + +# vim: set syntax=sh :