|
@ -106,20 +106,25 @@ test-debug: all |
|
|
benchmark: all |
|
|
benchmark: all |
|
|
build/default/node benchmark/run.js |
|
|
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 \\ |
|
|
asciidoc --unsafe \\ |
|
|
-a theme=pipe \\ |
|
|
-a theme=pipe \\ |
|
|
-a toc \\ |
|
|
-a toc \\ |
|
|
-a linkcss \\ |
|
|
-a linkcss \\ |
|
|
-o website/api.html website/api.txt |
|
|
-o doc/api.html doc/api.txt |
|
|
|
|
|
|
|
|
# -a stylesdir=website/ \\ |
|
|
doc/api.xml: doc/api.txt |
|
|
# -a scriptsdir=website/ \\ |
|
|
asciidoc -b docbook -d manpage -o doc/api.xml doc/api.txt |
|
|
|
|
|
|
|
|
website-upload: website |
|
|
doc/node.1: doc/api.xml |
|
|
scp website/* linode:~/tinyclouds/node/ |
|
|
xsltproc --output doc/node.1 \\ |
|
|
|
|
|
--nonet /etc/asciidoc/docbook-xsl/manpage.xsl \\ |
|
|
|
|
|
doc/api.xml |
|
|
|
|
|
|
|
|
|
|
|
website-upload: doc |
|
|
|
|
|
scp doc/* linode:~/tinyclouds/node/ |
|
|
|
|
|
|
|
|
clean: |
|
|
clean: |
|
|
@$WAF clean |
|
|
@$WAF clean |
|
@ -136,7 +141,7 @@ check: |
|
|
dist: |
|
|
dist: |
|
|
@$WAF 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 |
|
|
EOF |
|
|
} |
|
|
} |
|
|