about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile10
-rw-r--r--lib/rainbows/epoll/server.rb2
-rw-r--r--lib/rainbows/join_threads.rb2
-rw-r--r--lib/rainbows/reverse_proxy.rb1
-rw-r--r--lib/rainbows/reverse_proxy/multi_thread.rb1
5 files changed, 10 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d935d26..cd087db 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -3,6 +3,11 @@ all::
 RSYNC_DEST := rubyforge.org:/var/www/gforge-projects/rainbows
 rfproject := rainbows
 rfpackage := rainbows
+
+man-rdoc: man html
+        $(MAKE) -C Documentation comparison.html
+        for i in $(man1_rdoc); do echo > $$i; done
+doc:: man-rdoc
 include pkg.mk
 ifneq ($(VERSION),)
 release::
@@ -25,10 +30,7 @@ man html:
 
 pkg_extra += $(man1_paths)
 
-man-rdoc: man html
-        $(MAKE) -C Documentation comparison.html
-        for i in $(man1_rdoc); do echo > $$i; done
-doc:: man-rdoc
+doc::
         cat Documentation/comparison.css >> doc/rdoc.css
         $(RM) $(man1_rdoc)
 
diff --git a/lib/rainbows/epoll/server.rb b/lib/rainbows/epoll/server.rb
index 96b3308..58e7653 100644
--- a/lib/rainbows/epoll/server.rb
+++ b/lib/rainbows/epoll/server.rb
@@ -1,5 +1,5 @@
 # -*- encoding: binary -*-
-# :nodoc:
+# :enddoc:
 module Rainbows::Epoll::Server
   @@nr = 0
   Rainbows::Epoll.nr_clients = lambda { @@nr }
diff --git a/lib/rainbows/join_threads.rb b/lib/rainbows/join_threads.rb
index 6636e7c..ba67c94 100644
--- a/lib/rainbows/join_threads.rb
+++ b/lib/rainbows/join_threads.rb
@@ -1,5 +1,5 @@
 # -*- encoding: binary -*-
-# :nodoc:
+# :enddoc:
 # This module only gets loaded on shutdown
 module Rainbows::JoinThreads
 
diff --git a/lib/rainbows/reverse_proxy.rb b/lib/rainbows/reverse_proxy.rb
index d4cd5d2..b96fa47 100644
--- a/lib/rainbows/reverse_proxy.rb
+++ b/lib/rainbows/reverse_proxy.rb
@@ -1,4 +1,5 @@
 # -*- encoding: binary -*-
+# :enddoc:
 require 'socket'
 require 'thread'
 require 'uri'
diff --git a/lib/rainbows/reverse_proxy/multi_thread.rb b/lib/rainbows/reverse_proxy/multi_thread.rb
index 6714bc0..67f7740 100644
--- a/lib/rainbows/reverse_proxy/multi_thread.rb
+++ b/lib/rainbows/reverse_proxy/multi_thread.rb
@@ -1,4 +1,5 @@
 # -*- encoding -*-
+# :enddoc:
 module Rainbows::ReverseProxy::MultiThread
   def pick_upstream(env)
     @lock.synchronize { super(env) }