Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-03-11 05:57:12 +0300
committerisaacs <i@izs.me>2011-03-22 01:56:01 +0300
commit8945848724cd114437a8dd0acea0582a28a85dcb (patch)
tree360e2ae342c4d31807f63eef2fdf75fdecf5a8c1 /Makefile
parent6a18735d86dd04cc454c4283d796d4c849e4ba47 (diff)
A make command that works
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2a9c80d8b..2d34166e1 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ latest: submodules
node cli.js install
install: submodules
- node cli.js install
+ node cli.js install -g
# backwards compat
dev: install
@@ -32,7 +32,7 @@ clean: uninstall
uninstall: submodules
node cli.js cache clean
- node cli.js rm npm -f
+ node cli.js rm npm -g
man: man1
@@ -43,7 +43,8 @@ doc: man1 $(docs)
# use `npm install ronn` for this to work.
man1/%.1: doc/%.md
- ronn --roff $< > $@
+ node cli.js install ronn
+ ./node_modules/.bin/ronn --roff $< > $@
man1/%/: doc/%/
@if ! test -d $@ ; then mkdir -p $@ ; fi