summaryrefslogtreecommitdiff
path: root/deps/npm/Makefile
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-10-09 23:13:57 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-10-22 13:56:09 -0400
commit41923c0c0795cfa6c465821387fca88fe8811367 (patch)
tree853587bc888fde98f714d72050edceb4785145de /deps/npm/Makefile
parent9b8886446dd183cee26adf9c603f8e1cd5da74bd (diff)
downloadandroid-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.tar.gz
android-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.tar.bz2
android-node-v8-41923c0c0795cfa6c465821387fca88fe8811367.zip
deps: upgrade npm to 3.3.6
PR-URL: https://github.com/nodejs/node/pull/3310 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/Makefile')
-rw-r--r--deps/npm/Makefile24
1 files changed, 4 insertions, 20 deletions
diff --git a/deps/npm/Makefile b/deps/npm/Makefile
index 34e40624b5..abdac9ceb7 100644
--- a/deps/npm/Makefile
+++ b/deps/npm/Makefile
@@ -16,10 +16,6 @@ cli_mandocs = $(shell find doc/cli -name '*.md' \
|sed 's|doc/cli/|man/man1/|g' ) \
man/man1/npm-README.1
-api_mandocs = $(shell find doc/api -name '*.md' \
- |sed 's|.md|.3|g' \
- |sed 's|doc/api/|man/man3/|g' )
-
files_mandocs = $(shell find doc/files -name '*.md' \
|sed 's|.md|.5|g' \
|sed 's|doc/files/|man/man5/|g' ) \
@@ -36,10 +32,6 @@ cli_htmldocs = $(shell find doc/cli -name '*.md' \
|sed 's|doc/cli/|html/doc/cli/|g' ) \
html/doc/README.html
-api_htmldocs = $(shell find doc/api -name '*.md' \
- |sed 's|.md|.html|g' \
- |sed 's|doc/api/|html/doc/api/|g' )
-
files_htmldocs = $(shell find doc/files -name '*.md' \
|sed 's|.md|.html|g' \
|sed 's|doc/files/|html/doc/files/|g' ) \
@@ -51,9 +43,9 @@ misc_htmldocs = $(shell find doc/misc -name '*.md' \
|sed 's|doc/misc/|html/doc/misc/|g' ) \
html/doc/index.html
-mandocs = $(api_mandocs) $(cli_mandocs) $(files_mandocs) $(misc_mandocs)
+mandocs = $(cli_mandocs) $(files_mandocs) $(misc_mandocs)
-htmldocs = $(api_htmldocs) $(cli_htmldocs) $(files_htmldocs) $(misc_htmldocs)
+htmldocs = $(cli_htmldocs) $(files_htmldocs) $(misc_htmldocs)
all: doc
@@ -93,7 +85,6 @@ doc-clean:
.building_marked \
.building_marked-man \
html/doc \
- html/api \
man
# use `npm install marked-man` for this to work.
@@ -105,10 +96,6 @@ man/man1/%.1: doc/cli/%.md scripts/doc-build.sh package.json
@[ -d man/man1 ] || mkdir -p man/man1
scripts/doc-build.sh $< $@
-man/man3/%.3: doc/api/%.md scripts/doc-build.sh package.json
- @[ -d man/man3 ] || mkdir -p man/man3
- scripts/doc-build.sh $< $@
-
man/man5/npm-json.5: man/man5/package.json.5
cp $< $@
@@ -138,12 +125,9 @@ html/doc/cli/%.html: doc/cli/%.md $(html_docdeps)
@[ -d html/doc/cli ] || mkdir -p html/doc/cli
scripts/doc-build.sh $< $@
-html/doc/api/%.html: doc/api/%.md $(html_docdeps)
- @[ -d html/doc/api ] || mkdir -p html/doc/api
- scripts/doc-build.sh $< $@
-
html/doc/files/npm-json.html: html/doc/files/package.json.html
cp $< $@
+
html/doc/files/npm-global.html: html/doc/files/npm-folders.html
cp $< $@
@@ -168,7 +152,7 @@ node_modules/.bin/marked-man:
doc: man
-man: $(cli_docs) $(api_docs)
+man: $(cli_docs)
test: doc
node cli.js test