From ab61171ef016487abc4a647ff2d90b9249ff6711 Mon Sep 17 00:00:00 2001 From: Aria Stewart Date: Wed, 25 Jun 2014 21:03:49 -0600 Subject: [PATCH] Fix ronn dependency --- Makefile | 4 ++-- package.json | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 985da074..1f81d362 100644 --- a/Makefile +++ b/Makefile @@ -6,11 +6,11 @@ doc/index.html: ln -s api.html doc/index.html doc/api.html: doc/api.markdown doc/api_header.html doc/api_footer.html - node tools/ronnjs/bin/ronn.js --fragment doc/api.markdown \ + node node_modules/ronn/bin/ronn.js --fragment doc/api.markdown \ | sed "s/

\(.*\)<\/h2>/

\1<\/h2>/g" \ | cat doc/api_header.html - doc/api_footer.html > $@ doc/node-${PROJECT}.3: doc/api.markdown - node tools/ronnjs/bin/ronn.js --roff doc/api.markdown > $@ + node node_modules/ronn/bin/ronn.js --roff doc/api.markdown > $@ doc: doc/node-${PROJECT}.3 doc/api.html doc/index.html diff --git a/package.json b/package.json index 905cbb1a..7ee76f6a 100644 --- a/package.json +++ b/package.json @@ -62,5 +62,8 @@ "test": "PATH=$PATH:`npm bin` tape `find test -name '*-test.js'`" }, "license": "MIT", - "description": "HTML5 HTML parser, including support for SVG and MathML foreign content" + "description": "HTML5 HTML parser, including support for SVG and MathML foreign content", + "devDependencies": { + "ronn": "~0.4.0" + } }