fix build procedure for ruby (clean target)
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 25 Oct 2006 17:12:22 +0000 (17:12 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 25 Oct 2006 17:12:22 +0000 (17:12 +0000)
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
bindings/Makefile.am
bindings/ruby/main.c

index e6de29f..854e879 100755 (executable)
@@ -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
index a095ef8..96bf37d 100644 (file)
@@ -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##
index 492eb39..b2eaa68 100644 (file)
@@ -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);