Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 33 lines (24 sloc) 0.709 kB
35e2f6b @tj NODE makefile
tj authored
1
87bb27c @tj Added migrate doc files
tj authored
2 DOCS = docs/index.md \
21eeb09 @tj Executable docs
tj authored
3 docs/executable.md \
87bb27c @tj Added migrate doc files
tj authored
4 docs/migrate.md
5
939cf45 @tj Added `make docs`
tj authored
6 MANPAGES =$(DOCS:.md=.1)
7 HTMLDOCS =$(DOCS:.md=.html)
8
2932bf5 @tj make test / make init distinction
tj authored
9 test:
d803924 @tj Added Server#{set,enable,disable}() and friends
tj authored
10 @CONNECT_ENV=test ./support/expresso/bin/expresso -I lib test/*.test.js
3fd7e3b @tj Added `make prof` so that we can generate v8.log and analyse the output
tj authored
11
939cf45 @tj Added `make docs`
tj authored
12 docs: docs/api.html $(MANPAGES) $(HTMLDOCS)
13
bafa300 @tj Generated docs
tj authored
14 docs/api.html: lib/express/*.js
939cf45 @tj Added `make docs`
tj authored
15 dox --title Express \
16 --desc "High performance web framework for [node](http://nodejs.org)." \
17 $(shell find lib/express/* -type f) > $@
18
19 %.1: %.md
20 @echo "... $< -> $@"
29641ae @tj Started new docs
tj authored
21 @ronn -r --pipe $< > $@ &
939cf45 @tj Added `make docs`
tj authored
22
23 %.html: %.md
24 @echo "... $< -> $@"
25 @ronn -5 --pipe --fragment $< \
29641ae @tj Started new docs
tj authored
26 | cat docs/layout/head.html - docs/layout/foot.html \
27 | sed 's/NAME/Express/g' \
28 > $@ &
939cf45 @tj Added `make docs`
tj authored
29
30 docclean:
31 rm -f docs/*.{1,html}
32
33 .PHONY: test docs docclean
Something went wrong with that request. Please try again.