about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-05-23 13:14:39 -0700
committerEric Wong <normalperson@yhbt.net>2010-05-23 13:14:39 -0700
commitc405321e8df7ff71417cc0b6f7b0624e18970655 (patch)
tree68edcf2984dcfe8abc67a828f346976020f355f5
parentd7d6e51dd3c34fd1ab72591e75a0b3950ce3923e (diff)
downloadruby_io_splice-c405321e8df7ff71417cc0b6f7b0624e18970655.tar.gz
-rw-r--r--GNUmakefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 697343b..63b9cf3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -67,10 +67,10 @@ cgit_atom := http://git.bogomips.org/cgit/ruby_io_splice.git/atom/?h=master
 atom = <link rel="alternate" title="Atom feed" href="$(1)" \
              type="application/atom+xml"/>
 
-# using rdoc 2.4.1+
+# using rdoc 2.5.x + workaround patch here:
+# rubyforge.org/tracker/index.php?func=detail&aid=28230&group_id=627&atid=2472
 doc: .document NEWS ChangeLog
-        for i in $(man1_bins); do > $$i; done
-        rdoc -Na -t "$(shell sed -ne '1s/^= //p' README)"
+        rdoc -a -t "$(shell sed -ne '1s/^= //p' README)"
         install -m644 COPYING doc/COPYING
         install -m644 $(shell grep '^[A-Z]' .document) doc/
         cd doc && for i in $(base_bins); do \
@@ -85,7 +85,6 @@ doc: .document NEWS ChangeLog
           doc/NEWS.html doc/README.html
         $(RAKE) -s news_atom > doc/NEWS.atom.xml
         cd doc && ln README.html tmp && mv tmp index.html
-        $(RM) $(man1_bins)
 
 ifneq ($(VERSION),)
 rfproject := qrp