Skip to content

Commit

Permalink
Build ronn by checking the bin, not the package
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jan 16, 2012
1 parent 0e9ac8f commit bfc36a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -91,7 +91,7 @@ html/api/%.html: doc/api/%.md html/dochead.html html/docfoot.html scripts/doc-bu
doc/cli/index.md: $(markdowns) scripts/index-build.js scripts/doc-build.sh package.json
node scripts/index-build.js > $@

node_modules/ronn:
node_modules/.bin/ronn:
node cli.js install https://github.com/isaacs/ronnjs/tarball/master

doc: man
Expand Down
2 changes: 1 addition & 1 deletion scripts/doc-build.sh
Expand Up @@ -22,7 +22,7 @@ if ! [ -x node_modules/.bin/ronn ]; then
echo $$ > .building_ronn
sleep 1
if [ $(cat .building_ronn) == $$ ]; then
make node_modules/ronn
make node_modules/.bin/ronn
rm .building_ronn
else
while [ -f .building_ronn ]; do
Expand Down

0 comments on commit bfc36a9

Please sign in to comment.