about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-17 00:07:42 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-17 00:13:54 -0700
commit4e81d6f2e2a6a6b3de15bbd0e08992dd4630fa4b (patch)
tree9423943d84445e9383d74b105488571337731cd0 /GNUmakefile
parent12d9161f33e98331552a8a767c4fc11ab741cc5a (diff)
downloadunicorn-4e81d6f2e2a6a6b3de15bbd0e08992dd4630fa4b.tar.gz
* Documented Unicorn::HttpParser API methods

* Keep GPL2 (COPYING) as-is without RDoc formatting.

* The auto-generated index.html is stupid, replace it with
  README which looks saner.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/GNUmakefile b/GNUmakefile
index d0c3a0b..a3e0c5c 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -128,9 +128,11 @@ Manifest:
         cmp $@+ $@ || mv $@+ $@
         $(RM) -f $@+
 
-# using rdoc 2.4.1
-doc: .document
-        rdoc -Na -m README -t "$(shell sed -ne '1s/^= //p' README)"
+# using rdoc 2.4.1+
+doc: .document $(ext)/unicorn_http.c
+        rdoc -Na -t "$(shell sed -ne '1s/^= //p' README)"
+        install -m644 COPYING doc/COPYING
+        cd doc && ln README.html tmp.html && mv tmp.html index.html
 
 rails_git_url = git://github.com/rails/rails.git
 rails_git := vendor/rails.git