diff options
author | isaacs <i@izs.me> | 2010-05-10 21:15:50 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-05-10 21:38:00 +0400 |
commit | 743d3872399defb7877abcc77e49bfd1a6b268e5 (patch) | |
tree | 4a3da30a69bcb92b0b77f7ebbe3f25e0736140b3 /Makefile | |
parent | 2cdd515425ac070fbc9d3b8568c8ad9c9ab71a7d (diff) |
Improve install process.
Remove the install-npm.js.
Add install-stable, install, and link Make commands. The default is still to do install-stable.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -4,8 +4,18 @@ docs = $(shell ls doc/*.md \ |sed 's|doc/|man/|g' \ ) +install-stable: + ./cli.js --auto-activate always install npm@stable + install: - @node install-npm.js + ./cli.js --auto-activate always install . + +link: + ./cli.js --auto-activate always link . + +uninstall: + @echo TODO: have npm uninstall itself. + @echo See http://github.com/isaacs/npm/issues/issue/27 man: @mkdir man @@ -16,4 +26,4 @@ doc: man $(docs) man/%.1: doc/%.md ronn --roff $< > $@ -.PHONY: install doc clean uninstall +.PHONY: install install-stable link doc clean uninstall |