From: oetiker Date: Wed, 25 Oct 2006 17:12:22 +0000 (+0000) Subject: fix build procedure for ruby (clean target) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=15aa871449476b5925063df5cd00533e89d56f93;p=rrdtool-all.git fix build procedure for ruby (clean target) don't run autoreconf at the end of MakeMakefiles as this has a tendency todo the wrong things git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@914 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/MakeMakefile b/program/MakeMakefile index e6de29f4..854e879d 100755 --- a/program/MakeMakefile +++ b/program/MakeMakefile @@ -64,10 +64,7 @@ find . -name .debs | xargs rm -r $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 - -autoreconf +$automake --foreign --add-missing --force-missing --copy +autoconf --force diff --git a/program/bindings/Makefile.am b/program/bindings/Makefile.am index a095ef80..96bf37dd 100644 --- a/program/bindings/Makefile.am +++ b/program/bindings/Makefile.am @@ -47,6 +47,6 @@ clean-local: test -f perl-piped/Makefile && rm perl-piped/Makefile || true test -f perl-shared/Makefile && cd perl-shared && $(MAKE) clean || true test -f perl-shared/Makefile && rm -f perl-shared/Makefile || true - test -f ruby/Makefile && rm -f ruby/Makefile || true + test -f ruby/Makefile && cd ruby && $(MAKE) clean && rm Makefile || true ##END## diff --git a/program/bindings/ruby/main.c b/program/bindings/ruby/main.c index 492eb396..b2eaa68e 100644 --- a/program/bindings/ruby/main.c +++ b/program/bindings/ruby/main.c @@ -142,7 +142,7 @@ VALUE rb_rrd_graph(VALUE self, VALUE args) string_arr a; char **calcpr, **p; VALUE result, print_results; - int i, xsize, ysize; + int xsize, ysize; double ymin, ymax; a = string_arr_new(args);