Skip to content

Commit

Permalink
Change the 'make dist' to remove v8 test dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 13, 2010
1 parent 9769263 commit ce2d5ad
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Makefile
Expand Up @@ -76,14 +76,13 @@ VERSION=$(shell git describe)
TARNAME=node-$(VERSION)

dist: doc/node.1 doc/api.html
git archive --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
mkdir -p $(TARNAME)/doc
cp doc/node.1 $(TARNAME)/doc/node.1
cp doc/api.html $(TARNAME)/doc/api.html
tar rf $(TARNAME).tar \
$(TARNAME)/doc/node.1 \
$(TARNAME)/doc/api.html
rm -r $(TARNAME)
rm -rf $(TARNAME)/deps/v8/test # too big
tar -cf $(TARNAME).tar $(TARNAME)
rm -rf $(TARNAME)
gzip -f -9 $(TARNAME).tar

.PHONY: benchmark clean docclean dist distclean check uninstall install all test test-all website-upload

0 comments on commit ce2d5ad

Please sign in to comment.