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-09-17 02:29:57 +0400
committerisaacs <i@izs.me>2011-09-17 02:29:57 +0400
commit23b36f187969ba59c6002bf4baeabe06dd75d464 (patch)
treefa7194e785963d15e848449ba76ba9e1a070bee2 /Makefile
parent2978027a26e6df9e1d3b6f4132fc9a07f18a1ce9 (diff)
Don't try to double-build/clean index
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index efc646b2f..bca88f876 100644
--- a/Makefile
+++ b/Makefile
@@ -3,20 +3,21 @@ SHELL = bash
markdowns = $(shell find doc -name '*.md' | grep -v 'index') README.md
docs = $(shell find doc -name '*.md' \
- |grep -v 'index' \
- |sed 's|.md|.1|g' \
- |sed 's|doc/|man1/|g' ) \
- man1/README.1 \
- man1/index.1
+ |grep -v 'index.md' \
+ |sed 's|.md|.1|g' \
+ |sed 's|doc/|man1/|g' ) \
+ man1/README.1 \
+ man1/index.1
htmldocs = $(shell find doc -name '*.md' \
- |sed 's|.md|.html|g' \
- |sed 's|doc/|html/doc/|g' ) \
- html/doc/README.html \
- html/doc/index.html
+ |grep -v 'index.md' \
+ |sed 's|.md|.html|g' \
+ |sed 's|doc/|html/doc/|g' ) \
+ html/doc/README.html \
+ html/doc/index.html
doc_subfolders = $(shell find doc -type d \
- |sed 's|doc/|man1/|g' )
+ |sed 's|doc/|man1/|g' )
# This is the default make target.
# Since 'make' typically does non-installation build stuff,