From df4389682796c797aea62ff86e154f543f7f5250 Mon Sep 17 00:00:00 2001 From: oetiker Date: Wed, 25 Oct 2006 17:12:22 +0000 Subject: [PATCH] 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/program@914 a5681a0c-68f1-0310-ab6d-d61299d08faa --- MakeMakefile | 9 +++------ bindings/Makefile.am | 2 +- bindings/ruby/main.c | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/MakeMakefile b/MakeMakefile index e6de29f..854e879 100755 --- a/MakeMakefile +++ b/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/bindings/Makefile.am b/bindings/Makefile.am index a095ef8..96bf37d 100644 --- a/bindings/Makefile.am +++ b/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/bindings/ruby/main.c b/bindings/ruby/main.c index 492eb39..b2eaa68 100644 --- a/bindings/ruby/main.c +++ b/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); -- 2.11.0