1 |
|
2 | LIB_PREFIX = ~/.node_libraries
|
3 | PREFIX = /usr/local
|
4 |
|
5 | install:
|
6 | cp -f bin/jade $(PREFIX)/bin/jade
|
7 | cp -f lib/jade.js $(LIB_PREFIX)/jade.js
|
8 |
|
9 | uninstall:
|
10 | rm -f $(PREFIX)/bin/jade
|
11 | rm -f $(LIB_PREFIX)/jade.js
|
12 |
|
13 | test:
|
14 | @./support/expresso/bin/expresso -I lib test/*.js
|
15 |
|
16 | test-cov:
|
17 | @./support/expresso/bin/expresso -I lib --cov test/*.js
|
18 |
|
19 | api.html: lib/jade.js
|
20 | @dox --title "Jade" \
|
21 | --desc "Jade is a high performance template engine for [node](http://nodejs.org), inspired by [haml](http://haml-lang.com/), created by [TJ Holowaychuk](http://github.com/visionmedia)." \
|
22 | $< > $@
|
23 |
|
24 | .PHONY: install uninstall test test-cov example |
\ | No newline at end of file |