Makefile
This file
Path
Makefile
39 lines · 725 bytes
Last changed by
fixed docs due to markdown-js not supporting htmlTj Holowaychukbefore adoptiona75e60a
History of this fileTake it
The walk stopped after 200 commits: lines older than 543e791 point at it.
docsTj Holowaychukbefore adoption543e791
line 1why, one step back1removed manpages from makeTj Holowaychukbefore adoptioneefe51c
line 2why, one step back2DOCS = $(shell find docs/*.md)docsTj Holowaychukbefore adoption543e791
lines 3–18why, one step back3HTMLDOCS =$(DOCS:.md=.html)45test:6 @NODE_ENV=test ./support/expresso/bin/expresso \7 -I lib \8 -I support \9 -I support/connect/lib \10 -I support/haml/lib \11 -I support/jade/lib \12 -I support/ejs/lib \13 $(TESTFLAGS) \14 test/*.test.js1516test-cov:17 @TESTFLAGS=--cov $(MAKE) test18removed manpages from makeTj Holowaychukbefore adoptioneefe51c
line 19why, one step back19docs: $(HTMLDOCS)docsTj Holowaychukbefore adoption543e791
lines 20–24why, one step back20 @ echo "... generating TOC"21 @./support/toc.js docs/guide.html2223%.html: %.md24 @echo "... $< -> $@"fixed docs due to markdown-js not supporting htmlTj Holowaychukbefore adoptiona75e60a
line 25why, one step back25 @markdown $< \docsTj Holowaychukbefore adoption543e791
lines 26–39why, one step back26 | cat docs/layout/head.html - docs/layout/foot.html \27 > $@2829site:30 rm -fr /tmp/docs \31 && cp -fr docs /tmp/docs \32 && git checkout gh-pages \33 && cp -fr /tmp/docs/* . \34 && echo "done"3536docclean:37 rm -f docs/*.{1,html}3839.PHONY: site test test-cov docs docclean