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:
-rw-r--r--.gitignore2
-rw-r--r--Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index d06592186..5aedfd851 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,7 @@ npm-debug.log
/html/api/
/html/doc/
/man/
-/doc/*/index.md
+/doc/*/npm-index.md
/npmrc
/release/
/npm-*.tgz
diff --git a/Makefile b/Makefile
index f24e6d085..48574affb 100644
--- a/Makefile
+++ b/Makefile
@@ -112,10 +112,10 @@ man/man5/%.5: doc/files/%.md scripts/doc-build.sh package.json
@[ -d man/man5 ] || mkdir -p man/man5
scripts/doc-build.sh $< $@
-doc/misc/index.md: scripts/index-build.js package.json
+doc/misc/npm-index.md: scripts/index-build.js package.json
node scripts/index-build.js > $@
-html/doc/index.html: doc/misc/index.md $(html_docdeps)
+html/doc/index.html: doc/misc/npm-index.md $(html_docdeps)
@[ -d html/doc ] || mkdir -p html/doc
scripts/doc-build.sh $< $@