<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,10 +21,10 @@ end
 # ------- Version ----
 # Read version from header file
 version_header = File.read('ext/version.h')
-RUBY_PROF_VERSION = version_header.match(/RUBY_PROF_VERSION\s*[&quot;](\d.+)[&quot;]/)
-if not RUBY_PROF_VERSION
-  raise(RuntimeError, &quot;Could not determine RUBY_PROF_VERSION&quot;)
-
+match = version_header.match(/RUBY_PROF_VERSION\s*[&quot;](\d.+)[&quot;]/)
+raise(RuntimeError, &quot;Could not determine RUBY_PROF_VERSION&quot;) if not match
+RUBY_PROF_VERSION = match[1]
+  
 
 # ------- Default Package ----------
 FILES = FileList[
@@ -75,19 +75,6 @@ EOF
   
   # rdoc
   spec.has_rdoc = true
-  spec.rdoc_options &lt;&lt; &quot;--title&quot; &lt;&lt; &quot;ruby-prof&quot;
-  # Show source inline with line numbers
-  spec.rdoc_options &lt;&lt; &quot;--inline-source&quot; &lt;&lt; &quot;--line-numbers&quot;
-  # Make the readme file the start page for the generated html
-  spec.rdoc_options &lt;&lt; '--main' &lt;&lt; 'README'
-  spec.extra_rdoc_files = ['bin/ruby-prof',
-                           'ext/ruby_prof.c',
-                           'examples/flat.txt',
-                           'examples/graph.txt',
-                           'examples/graph.html',
-                           'README',
-                           'LICENSE']
-
 end
 
 # Rake task to build the default package
@@ -122,7 +109,6 @@ task :create_win32_gem do
   rm(target)
 end
 
-
 task :package =&gt; :create_win32_gem
 
 # ---------  RDoc Documentation ------
@@ -145,15 +131,4 @@ Rake::RDocTask.new(&quot;rdoc&quot;) do |rdoc|
                           'LICENSE')
 end
 
-
-# ---------  Publish to RubyForge  ----------------
-desc &quot;Publish ruby-prof to RubyForge.&quot;
-task :publish do 
-  require 'rake/contrib/sshpublisher'
-  
-  # Get ruby-prof path
-  ruby_prof_path = File.expand_path(File.dirname(__FILE__))
-
-  publisher = Rake::SshDirPublisher.new(&quot;cfis@rubyforge.org&quot;,
-        &quot;/var/www/gforge-projects/ruby-prof&quot;, ruby_prof_path)
-end
+task :package =&gt; :rdoc</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>47f946d7eeac1a92b1137341e31a6899e6cd0e38</id>
    </parent>
  </parents>
  <author>
    <name>cfis</name>
    <email>cfis@5fb4a865-4516-0410-ae3b-a609ddf12040</email>
  </author>
  <url>http://github.com/jeremy/ruby-prof/commit/52eca946a52f14e248d42d04362e2e372bc80610</url>
  <id>52eca946a52f14e248d42d04362e2e372bc80610</id>
  <committed-date>2008-07-14T02:22:09-07:00</committed-date>
  <authored-date>2008-07-14T02:22:09-07:00</authored-date>
  <message>Fix up rake file and RUBY_PROF_VERSION reading.

git-svn-id: http://ruby-prof.rubyforge.org/svn@273 5fb4a865-4516-0410-ae3b-a609ddf12040</message>
  <tree>10d9068bfae31d7143cda05b9cd6e6d7f1b76152</tree>
  <committer>
    <name>cfis</name>
    <email>cfis@5fb4a865-4516-0410-ae3b-a609ddf12040</email>
  </committer>
</commit>
