Skip to content

Commit

Permalink
Added `make install
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 7, 2010
1 parent 70e94e4 commit 6770e85
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Makefile
@@ -1,11 +1,23 @@

PREFIX = /usr/local
LIB_PREFIX = ~/.node_libraries

DOCS = docs/index.md \
docs/executable.md \
docs/migrate.md

MANPAGES =$(DOCS:.md=.1)
HTMLDOCS =$(DOCS:.md=.html)

install:
@mkdir -p $(PREFIX)/bin
cp -f bin/express $(PREFIX)/bin/express
cp -fr lib/express $(LIB_PREFIX)/express

uninstall:
rm -f $(PREFIX)/bin/express
rm -fr $(LIB_PREFIX)/express

test:
@CONNECT_ENV=test ./support/expresso/bin/expresso \
-I lib \
Expand Down Expand Up @@ -34,4 +46,4 @@ docs/api.html: lib/express/*.js
docclean:
rm -f docs/*.{1,html}

.PHONY: test docs docclean
.PHONY: install uninstall install-docs install-suppport test docs docclean

0 comments on commit 6770e85

Please sign in to comment.