Skip to content
This repository
Newer
Older
100644 58 lines (44 sloc) 1.29 kb
35e2f6b8 »
2009-11-29 NODE makefile
1
6770e854 »
2010-07-07 Added `make install
2 PREFIX = /usr/local
3 LIB_PREFIX = ~/.node_libraries
4
87bb27cc »
2010-07-05 Added migrate doc files
5 DOCS = docs/index.md \
21eeb09a »
2010-07-06 Executable docs
6 docs/executable.md \
87bb27cc »
2010-07-05 Added migrate doc files
7 docs/migrate.md
8
939cf454 »
2010-07-05 Added `make docs`
9 MANPAGES =$(DOCS:.md=.1)
10 HTMLDOCS =$(DOCS:.md=.html)
11
6770e854 »
2010-07-07 Added `make install
12 install:
13 @mkdir -p $(PREFIX)/bin
14 cp -f bin/express $(PREFIX)/bin/express
15 cp -fr lib/express $(LIB_PREFIX)/express
16
17 uninstall:
18 rm -f $(PREFIX)/bin/express
19 rm -fr $(LIB_PREFIX)/express
20
774e25d9 »
2010-07-07 Added `make install-support` and `make uninstall-support`
21 install-support:
22 cd support/connect && $(MAKE) install
23 cd support/jade && $(MAKE) install
24
25 uninstall-support:
26 cd support/connect && $(MAKE) uninstall
27 cd support/jade && $(MAKE) uninstall
28
2932bf50 »
2010-03-10 make test / make init distinction
29 test:
25e79675 »
2010-07-07 Added Connect submodule
30 @CONNECT_ENV=test ./support/expresso/bin/expresso \
31 -I lib \
32 -I support/connect/lib \
dc5caebb »
2010-07-07 Added haml test
33 -I support/haml/lib \
0ffbc6e3 »
2010-07-07 Added jade submodule
34 -I support/jade/lib \
25e79675 »
2010-07-07 Added Connect submodule
35 test/*.test.js
3fd7e3b9 »
2010-04-21 Added `make prof` so that we can generate v8.log and analyse the output
36
939cf454 »
2010-07-05 Added `make docs`
37 docs: docs/api.html $(MANPAGES) $(HTMLDOCS)
38
bafa300b »
2010-07-05 Generated docs
39 docs/api.html: lib/express/*.js
939cf454 »
2010-07-05 Added `make docs`
40 dox --title Express \
41 --desc "High performance web framework for [node](http://nodejs.org)." \
42 $(shell find lib/express/* -type f) > $@
43
44 %.1: %.md
45 @echo "... $< -> $@"
29641ae1 »
2010-07-06 Started new docs
46 @ronn -r --pipe $< > $@ &
939cf454 »
2010-07-05 Added `make docs`
47
48 %.html: %.md
49 @echo "... $< -> $@"
50 @ronn -5 --pipe --fragment $< \
29641ae1 »
2010-07-06 Started new docs
51 | cat docs/layout/head.html - docs/layout/foot.html \
52 | sed 's/NAME/Express/g' \
53 > $@ &
939cf454 »
2010-07-05 Added `make docs`
54
55 docclean:
56 rm -f docs/*.{1,html}
57
774e25d9 »
2010-07-07 Added `make install-support` and `make uninstall-support`
58 .PHONY: install uninstall install-docs install-support uninstall-support test docs docclean
Something went wrong with that request. Please try again.