about summary refs log tree commit homepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-21 01:58:32 +0000
committerEric Wong <normalperson@yhbt.net>2010-12-21 01:58:32 +0000
commit3a67490b10ca38d7d3d30c6917d75ce0e093706b (patch)
tree44a3cbbeb694b0127e0cf17e28bce157f5ac2d87 /GNUmakefile
parentee29a14cb383839cf5dcef6fe442558f46a1615b (diff)
downloadunicorn-3a67490b10ca38d7d3d30c6917d75ce0e093706b.tar.gz
Hopefully this gets more people reading our source.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 11455f9..03ed4ac 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -2,6 +2,7 @@
 all:: test
 
 GIT_URL = git://git.bogomips.org/unicorn.git
+CGIT_URL = http://git.bogomips.org/cgit/unicorn.git
 RLFLAGS = -G2
 
 MRI = ruby
@@ -187,7 +188,7 @@ ChangeLog: GIT-VERSION-FILE
         mv $@+ $@
 
 news_atom := http://unicorn.bogomips.org/NEWS.atom.xml
-cgit_atom := http://git.bogomips.org/cgit/unicorn.git/atom/?h=master
+cgit_atom := $(CGIT_URL)/atom/?h=master
 atom = <link rel="alternate" title="Atom feed" href="$(1)" \
              type="application/atom+xml"/>
 
@@ -195,7 +196,8 @@ atom = <link rel="alternate" title="Atom feed" href="$(1)" \
 doc: .document $(ext)/unicorn_http.c NEWS ChangeLog
         for i in $(man1_rdoc); do echo > $$i; done
         find bin lib -type f -name '*.rbc' -exec rm -f '{}' ';'
-        rdoc -t "$(shell sed -ne '1s/^= //p' README)"
+        rdoc --webcvs=$(CGIT_URL)/tree/%s \
+          -t "$(shell sed -ne '1s/^= //p' README)"
         install -m644 COPYING doc/COPYING
         install -m644 $(shell grep '^[A-Z]' .document)  doc/
         $(MAKE) -C Documentation install-html install-man