Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-09-10 15:40:38 +0400
committerRyan <ry@tinyclouds.org>2009-09-10 15:40:38 +0400
commit68dda0a7d8939487c8191a5bdaae7af19d962482 (patch)
tree71be03a86c183e9fe7be66f6eb4771437a872222 /configure
parent8e5d4f9a69cc228afc377a8417bb98411a75cd9d (diff)
Man page generation.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure21
1 files changed, 13 insertions, 8 deletions
diff --git a/configure b/configure
index 87110b2dd7f..e9e31910f5e 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
}