From 711ca5408415fd3f435d0a36d3284baeda51ce28 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 17 Sep 2009 20:15:31 -0700 Subject: doc: begin integration of HTML manpages into RDoc Kinda sorta works, still some Markdown => HTML formatting issues to work out but it gives the site a reasonably consistent look. --- GNUmakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index 4cd7b97..d21d974 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -152,9 +152,15 @@ ChangeLog: GIT-VERSION-FILE # using rdoc 2.4.1+ doc: .document $(ext)/unicorn_http.c NEWS ChangeLog + > unicorn.1 && > unicorn_rails.1 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 + $(MAKE) -C Documentation install-html + cd doc && for i in unicorn unicorn_rails; do \ + sed -e '/"documentation">/r man1/'$$i'.1.html' \ + < $${i}_1.html > tmp && mv tmp $${i}_1.html; done + cd doc && ln README.html tmp && mv tmp index.html + $(RM) unicorn.1 unicorn_rails.1 rails_git_url = git://github.com/rails/rails.git rails_git := vendor/rails.git -- cgit v1.2.3-24-ge0c7