Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 91 lines (65 sloc) 2.118 kB
90ab079 @ry Use --jobs=1 with WAF
ry authored
1 WAF=python tools/waf-light --jobs=1
2
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
3 all:
90ab079 @ry Use --jobs=1 with WAF
ry authored
4 @$(WAF) build
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
5
6 all-debug:
90ab079 @ry Use --jobs=1 with WAF
ry authored
7 @$(WAF) -v build
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
8
9 all-progress:
90ab079 @ry Use --jobs=1 with WAF
ry authored
10 @$(WAF) -p build
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
11
12 install:
90ab079 @ry Use --jobs=1 with WAF
ry authored
13 @$(WAF) install
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
14
15 uninstall:
90ab079 @ry Use --jobs=1 with WAF
ry authored
16 @$(WAF) uninstall
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
17
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
18 test: all
19 python tools/test.py --mode=release
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
20
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
21 test-all: all
22 python tools/test.py --mode=debug,release
23
24 test-debug: all
25 python tools/test.py --mode=debug
26
04fac19 @arlolra Split tests.
arlolra authored
27 test-simple: all
28 python tools/test.py simple
29
30 test-pummel: all
31 python tools/test.py pummel
32
33 test-internet: all
34 python tools/test.py internet
35
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
36 benchmark: all
37 build/default/node benchmark/run.js
38
1db824a @ry Add changelog to website
ry authored
39 doc: doc/node.1 doc/api.html doc/index.html doc/changelog.html
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
40
41 doc/api.html: doc/api.txt
42 asciidoc --unsafe \
43 -a theme=pipe \
44 -a toc \
df94c76 @ry documentation clean up
ry authored
45 -a toclevels=1 \
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
46 -a linkcss \
47 -o doc/api.html doc/api.txt
48
1db824a @ry Add changelog to website
ry authored
49 doc/changelog.html: ChangeLog
50 echo '<html><head><title>Node.js ChangeLog</title> <link rel="stylesheet" href="./pipe.css" type="text/css" /> <link rel="stylesheet" href="./pipe-quirks.css" type="text/css" /> <body><h1>Node.js ChangeLog</h1> <pre>' > doc/changelog.html
51 cat ChangeLog >> doc/changelog.html
52 echo '</pre></body></html>' >> doc/changelog.html
53
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
54 doc/api.xml: doc/api.txt
55 asciidoc -b docbook -d manpage -o doc/api.xml doc/api.txt
56
57 doc/node.1: doc/api.xml
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
58 xsltproc --output doc/node.1 --nonet doc/manpage.xsl doc/api.xml
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
59
60 website-upload: doc
916d592 @ry Fix 'make website-upload'
ry authored
61 scp doc/* ryan@nodejs.org:~/tinyclouds/node/
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
62
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
63 docclean:
e8363ab @ry delete changelog.html on 'make docclean'
ry authored
64 @-rm -f doc/node.1 doc/api.xml doc/api.html doc/changelog.html
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
65
66 clean: docclean
90ab079 @ry Use --jobs=1 with WAF
ry authored
67 @$(WAF) clean
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
68
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
69 distclean: docclean
ae6a172 @ry Simplify 'make distclean' by just doing 'rm -rf build'
ry authored
70 @-rm -rf build/
e982349 @ry Fix 'make distclean'
ry authored
71 @-find tools/ -name "*.pyc" -delete
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
72
73 check:
74 @tools/waf-light check
75
217b60a @ry sed -i 's/git-/git /g' Makefile
ry authored
76 VERSION=$(shell git describe)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
77 TARNAME=node-$(VERSION)
78
79 dist: doc/node.1 doc/api.html
217b60a @ry sed -i 's/git-/git /g' Makefile
ry authored
80 git archive --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
81 mkdir -p $(TARNAME)/doc
82 cp doc/node.1 $(TARNAME)/doc/node.1
83 cp doc/api.html $(TARNAME)/doc/api.html
84 tar rf $(TARNAME).tar \
85 $(TARNAME)/doc/node.1 \
86 $(TARNAME)/doc/api.html
87 rm -r $(TARNAME)
88 gzip -f -9 $(TARNAME).tar
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
89
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
90 .PHONY: benchmark clean docclean dist distclean check uninstall install all test test-all website-upload
Something went wrong with that request. Please try again.