Browse Source

build: Prevent duplication of doc/api folder

v0.8.7-release
isaacs 13 years ago
parent
commit
f9abf5e0e2
  1. 4
      Makefile

4
Makefile

@ -209,9 +209,9 @@ $(PKG):
$(TARBALL): out/doc
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)

Loading…
Cancel
Save