Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 91 lines (65 sloc) 2.165 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
6670154 @ry 'make test' only runs the simple test
ry authored
19 python tools/test.py --mode=release simple
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
6670154 @ry 'make test' only runs the simple test
ry authored
24 test-release: all
25 python tools/test.py --mode=release
26
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
27 test-debug: all
28 python tools/test.py --mode=debug
29
04fac19 @arlolra Split tests.
arlolra authored
30 test-simple: all
31 python tools/test.py simple
32
33 test-pummel: all
34 python tools/test.py pummel
35
36 test-internet: all
37 python tools/test.py internet
38
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
39 benchmark: all
40 build/default/node benchmark/run.js
41
aa6a785 @ry Add note about where to find ronn
ry authored
42 # http://rtomayko.github.com/ronn
43 # gem install ronn
1db824a @ry Add changelog to website
ry authored
44 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
45
ee30267 @ry More documentation work. Remove long lines
ry authored
46 ## HACK to give the ronn-generated page a TOC
54f0234 @ry Fix doc again
ry authored
47 doc/api.html: doc/api.markdown doc/api_header.html doc/api_footer.html
1a9c9b0 @felixge Bring back the old manual style
felixge authored
48 ronn -f --html doc/api.markdown \
49 | sed "s/<h2>\(.*\)<\/h2>/<h2 id=\"\1\">\1<\/h2>/g" \
50 | cat doc/api_header.html - doc/api_footer.html > doc/api.html
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
51
1db824a @ry Add changelog to website
ry authored
52 doc/changelog.html: ChangeLog
53 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
54 cat ChangeLog >> doc/changelog.html
55 echo '</pre></body></html>' >> doc/changelog.html
56
179f718 @creationix Conversion to markdown based API docs.
creationix authored
57 doc/node.1: doc/api.markdown
58 ronn --roff doc/api.markdown > doc/node.1
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:
179f718 @creationix Conversion to markdown based API docs.
creationix authored
64 @-rm -f doc/node.1 doc/api.html doc/changelog.html
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
65
d67fdcc @ry clean should not docclean
ry authored
66 clean:
90ab079 @ry Use --jobs=1 with WAF
ry authored
67 @$(WAF) clean
d67fdcc @ry clean should not docclean
ry authored
68 @-find tools/ -name "*.pyc" -delete
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
69
d67fdcc @ry clean should not docclean
ry authored
70 distclean: clean docclean
ae6a172 @ry Simplify 'make distclean' by just doing 'rm -rf build'
ry authored
71 @-rm -rf build/
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.