Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 90 lines (64 sloc) 2.03 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
eb4951d @mranney Add proper HTML header for changelog so UTF-8 works.
mranney authored
52 doc/changelog.html: ChangeLog doc/changelog_header.html doc/changelog_footer.html
53 cat doc/changelog_header.html ChangeLog doc/changelog_footer.html > doc/changelog.html
1db824a @ry Add changelog to website
ry authored
54
179f718 @creationix Conversion to markdown based API docs.
creationix authored
55 doc/node.1: doc/api.markdown
56 ronn --roff doc/api.markdown > doc/node.1
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
57
58 website-upload: doc
916d592 @ry Fix 'make website-upload'
ry authored
59 scp doc/* ryan@nodejs.org:~/tinyclouds/node/
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
60
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
61 docclean:
179f718 @creationix Conversion to markdown based API docs.
creationix authored
62 @-rm -f doc/node.1 doc/api.html doc/changelog.html
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
63
d67fdcc @ry clean should not docclean
ry authored
64 clean:
90ab079 @ry Use --jobs=1 with WAF
ry authored
65 @$(WAF) clean
ff64094 @ry Make 'make distclean' work on solaris
ry authored
66 @-find tools -name "*.pyc" | xargs rm -f
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
67
ff64094 @ry Make 'make distclean' work on solaris
ry authored
68 distclean: docclean
69 @-find tools -name "*.pyc" | xargs rm -f
70 @-rm -rf build/ node node_g
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
71
72 check:
73 @tools/waf-light check
74
217b60a @ry sed -i 's/git-/git /g' Makefile
ry authored
75 VERSION=$(shell git describe)
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
76 TARNAME=node-$(VERSION)
77
78 dist: doc/node.1 doc/api.html
217b60a @ry sed -i 's/git-/git /g' Makefile
ry authored
79 git archive --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
bf0d278 @ry Improve "make dist" remove generated doc from repo.
ry authored
80 mkdir -p $(TARNAME)/doc
81 cp doc/node.1 $(TARNAME)/doc/node.1
82 cp doc/api.html $(TARNAME)/doc/api.html
83 tar rf $(TARNAME).tar \
84 $(TARNAME)/doc/node.1 \
85 $(TARNAME)/doc/api.html
86 rm -r $(TARNAME)
87 gzip -f -9 $(TARNAME).tar
861f28f @ry Don't unnecessarily output the makefile from the configure script.
ry authored
88
2c016ba @ry 'make distclean' should not call 'waf clean'
ry authored
89 .PHONY: benchmark clean docclean dist distclean check uninstall install all test test-all website-upload
Something went wrong with that request. Please try again.