Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (20 sloc) 0.516 kB
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
1
8d625f2 @isaacs Install all the man files as npm-<section> so that you can do man npm…
isaacs authored
2 docs = $(shell ls doc/*.md \
3 |sed 's|.md|.1|g' \
4 |sed 's|doc/|man/|g' \
5 )
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
6
743d387 @isaacs Improve install process.
isaacs authored
7 install-stable:
8 ./cli.js --auto-activate always install npm@stable
9
a179be6 @isaacs Handle docs better so that the installed docs are always in sync with…
isaacs authored
10 install:
743d387 @isaacs Improve install process.
isaacs authored
11 ./cli.js --auto-activate always install .
12
13 link:
14 ./cli.js --auto-activate always link .
15
16 uninstall:
17 @echo TODO: have npm uninstall itself.
18 @echo See http://github.com/isaacs/npm/issues/issue/27
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
19
20 man:
e3e176c @isaacs Don't echo the "true" stuffs
isaacs authored
21 @mkdir man
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
22
492924c @isaacs Move more of the documentation to ronn's domain
isaacs authored
23 doc: man $(docs)
e3e176c @isaacs Don't echo the "true" stuffs
isaacs authored
24 @true
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
25
86c296f @isaacs Add commands to make man files from the docs.
isaacs authored
26 man/%.1: doc/%.md
27 ronn --roff $< > $@
c638e80 @isaacs Add a makefile to build the man page.
isaacs authored
28
743d387 @isaacs Improve install process.
isaacs authored
29 .PHONY: install install-stable link doc clean uninstall
Something went wrong with that request. Please try again.