<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>script/txt2html</filename>
    </added>
    <added>
      <filename>website/index.html</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -56,7 +56,7 @@ It is recommended that you install serve via RubyGems:
 == License
 
 Serve is released under the MIT license and is copyright (c) John W. Long.
-A copy of the MIT license can be found in the LICENSE.txt file.
+A copy of the MIT license can be found in the link:License.txt file.
 
 
 Enjoy!</diff>
      <filename>README.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,17 @@
-# stubs for the website generation
-# To install the website framework:
-#   script/generate website
+desc 'Generate website files'
+task :website_generate =&gt; :ruby_env do
+  (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
+    sh %{ #{RUBY_APP} script/txt2html #{txt} &gt; #{txt.gsub(/txt$/,'html')} }
+  end
+end
 
-task :website_generate
+desc 'Upload website files to rubyforge'
+task :website_upload do
+  host = &quot;#{rubyforge_username}@rubyforge.org&quot;
+  remote_dir = &quot;/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/&quot;
+  local_dir = 'website'
+  sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
+end
 
-task :website_upload
-
-task :website =&gt; :publish_docs
+desc 'Generate and upload website files'
+task :website =&gt; [:website_generate, :website_upload, :publish_docs]</diff>
      <filename>tasks/website.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f96728b18cb45434f5af8a60f1aa2541da00c5b6</id>
    </parent>
  </parents>
  <author>
    <name>jlong</name>
    <email>jlong@bc0a7ee4-b4f2-4507-b10a-a3dd5181224c</email>
  </author>
  <url>http://github.com/jlong/serve/commit/641ed1087449dc359aaafce3b82409557230fa92</url>
  <id>641ed1087449dc359aaafce3b82409557230fa92</id>
  <committed-date>2007-09-24T22:58:36-07:00</committed-date>
  <authored-date>2007-09-24T22:58:36-07:00</authored-date>
  <message>added files for project site

git-svn-id: svn+ssh://rubyforge.org/var/svn/serve/trunk/serve@6 bc0a7ee4-b4f2-4507-b10a-a3dd5181224c</message>
  <tree>173ee542708773973e577e669ae60d628a37b550</tree>
  <committer>
    <name>jlong</name>
    <email>jlong@bc0a7ee4-b4f2-4507-b10a-a3dd5181224c</email>
  </committer>
</commit>
