Permalink
Browse files

build: Prevent duplication of doc/api folder

  • Loading branch information...
isaacs committed Jun 6, 2012
1 parent 463d6ba commit c45522df4c1a316d304d2d08d641c5b9da8df148
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
@@ -219,9 +219,9 @@ $(TARBALL): node out/doc
exit 1 ; \
fi
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
- mkdir -p $(TARNAME)/doc
+ mkdir -p $(TARNAME)/doc/api
cp doc/node.1 $(TARNAME)/doc/node.1
- cp -r out/doc/api $(TARNAME)/doc/api
+ cp -r out/doc/api/* $(TARNAME)/doc/api/
rm -rf $(TARNAME)/deps/v8/test # too big
rm -rf $(TARNAME)/doc/images # too big
tar -cf $(TARNAME).tar $(TARNAME)

0 comments on commit c45522d

Please sign in to comment.