summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-05-13 15:54:50 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-05-13 15:55:02 -0700
commitce2d5ad0d74c55e5081863eadad32244e5829d42 (patch)
treeb29adb927b2d0e22d3cb198d2902bf31add980ae
parent976926376d249a92ee95cf585d58c31ccdd85545 (diff)
downloadnodejs-ce2d5ad0d74c55e5081863eadad32244e5829d42.tar.gz
nodejs-ce2d5ad0d74c55e5081863eadad32244e5829d42.tar.bz2
nodejs-ce2d5ad0d74c55e5081863eadad32244e5829d42.zip
Change the 'make dist' to remove v8 test dir
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 12ea89e9e..c487e97fb 100644
--- a/Makefile
+++ b/Makefile
@@ -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