Skip to content
Browse files

Docs depend on their builder scripts

  • Loading branch information...
1 parent cc34185 commit 479dc6462a1d7e91022ff2b5f98a47c4127e624b @isaacs isaacs committed
Showing with 5 additions and 7 deletions.
  1. +5 −7 Makefile
View
12 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

0 comments on commit 479dc64

Please sign in to comment.
Something went wrong with that request. Please try again.