Code

make ruby obej destdir
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 21 Feb 2008 07:21:34 +0000 (07:21 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 21 Feb 2008 07:21:34 +0000 (07:21 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1295 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index f2384275e8eb2b9cfbb699f86dd1f83f65a58e62..faadace691203412db76cc847678ba8c2afd65ad 100644 (file)
@@ -657,7 +657,7 @@ AC_ARG_ENABLE(ruby-site-install,
                          together with rrdtool in $prefix/lib/ruby. You have to
                           add $prefix/lib/ruby/$ruby_version/$sitearch to you $: variable
                           for ruby to find the RRD.so file.],
-[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir=$prefix/lib/ruby"])
+[RUBY_MAKE_OPTIONS=],[RUBY_MAKE_OPTIONS="sitedir="'$(DESTDIR)'"$prefix/lib/ruby"])
 
     
 AC_ARG_WITH(ruby-options,