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-02-18 22:21:35 +0300
committerisaacs <i@izs.me>2011-02-18 22:28:42 +0300
commit0e151fcf9a316e2bc1f276eb33281807aa51e298 (patch)
treea911f30cfa943d7eccc2e0c35efbc2b2a5d70dac /Makefile
parent9d380b18ef1f0ccb0945333fdc75e207207d7e4a (diff)
build submodules in make process
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index c4f3d5963..b599a119c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,18 @@
docs = $(shell find doc -name '*.md' \
|sed 's|.md|.1|g' \
- |sed 's|doc/|man1/|g' \
- )
+ |sed 's|doc/|man1/|g' )
+
doc_subfolders = $(shell find doc -type d \
- |sed 's|doc/|man1/|g' \
- )
+ |sed 's|doc/|man1/|g' )
+
+submodules:
+ git submodule update --init
-install:
+install: submodules
node cli.js install npm
-dev:
+dev: submodules
node cli.js install
link: uninstall
@@ -18,7 +20,7 @@ link: uninstall
clean: uninstall
-uninstall:
+uninstall: submodules
node cli.js cache clean
node cli.js rm npm -r
@@ -36,7 +38,7 @@ man1/%.1: doc/%.md
man1/%/: doc/%/
@if ! test -d $@ ; then mkdir -p $@ ; fi
-test:
+test: submodules
./test/run.sh
version: link