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-09 00:30:25 +0400
committerisaacs <i@izs.me>2011-09-09 00:30:25 +0400
commit479dc6462a1d7e91022ff2b5f98a47c4127e624b (patch)
tree6df7c4d379a0318e41e0e533a924fd9f84ec98d4 /Makefile
parentcc3418565955a061561771b4f3947f3026904ca5 (diff)
Docs depend on their builder scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 4dbdf01d8..baea2f9f5 100644
--- a/Makefile
+++ b/Makefile
@@ -50,23 +50,21 @@ doc-clean:
rm $(docs) $(htmldocs)
# use `npm install ronn` for this to work.
-man1/README.1: README.md
+man1/README.1: README.md scripts/doc-build.sh
scripts/doc-build.sh $< $@
-man1/%.1: doc/%.md
+man1/%.1: doc/%.md scripts/doc-build.sh
scripts/doc-build.sh $< $@
-html/doc/README.html: README.md html/dochead.html html/docfoot.html
+html/doc/README.html: README.md html/dochead.html html/docfoot.html scripts/doc-build.sh
scripts/doc-build.sh $< $@
-html/doc/%.html: doc/%.md html/dochead.html html/docfoot.html
+html/doc/%.html: doc/%.md html/dochead.html html/docfoot.html scripts/doc-build.sh
scripts/doc-build.sh $< $@
-doc/index.md: $(markdowns)
+doc/index.md: $(markdowns) scripts/index-build.js
node scripts/index-build.js > doc/index.md
-
-
test: submodules
node cli.js test