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

Makefile - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92c1c9b66a30854a89f0e47c60c32ac2b4b2862a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

docs = $(shell ls doc/*.md \
        |sed 's|.md|.1|g' \
        |sed 's|doc/|man/|g' \
        )

install-stable:
	./cli.js --auto-activate always install npm@stable

install:
	./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

doc: man $(docs)
	@true

man/%.1: doc/%.md
	ronn --roff $< > $@

.PHONY: install install-stable link doc clean uninstall