From 68dda0a7d8939487c8191a5bdaae7af19d962482 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 10 Sep 2009 13:40:38 +0200 Subject: Man page generation. --- configure | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 87110b2dd7..e9e31910f5 100755 --- a/configure +++ b/configure @@ -106,20 +106,25 @@ test-debug: all benchmark: all build/default/node benchmark/run.js -website: website/api.html website/index.html +doc: doc/node.1 doc/api.html doc/index.html -website/api.html: website/api.txt +doc/api.html: doc/api.txt asciidoc --unsafe \\ -a theme=pipe \\ -a toc \\ -a linkcss \\ - -o website/api.html website/api.txt + -o doc/api.html doc/api.txt -# -a stylesdir=website/ \\ -# -a scriptsdir=website/ \\ +doc/api.xml: doc/api.txt + asciidoc -b docbook -d manpage -o doc/api.xml doc/api.txt -website-upload: website - scp website/* linode:~/tinyclouds/node/ +doc/node.1: doc/api.xml + xsltproc --output doc/node.1 \\ + --nonet /etc/asciidoc/docbook-xsl/manpage.xsl \\ + doc/api.xml + +website-upload: doc + scp doc/* linode:~/tinyclouds/node/ clean: @$WAF clean @@ -136,7 +141,7 @@ check: dist: @$WAF dist -.PHONY: benchmark clean dist distclean check uninstall install all test test-all website website-upload +.PHONY: benchmark clean dist distclean check uninstall install all test test-all website-upload EOF } -- cgit v1.2.1