Skip to content

Commit ce2d5ad

Browse files
committed
Change the 'make dist' to remove v8 test dir
1 parent 9769263 commit ce2d5ad

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

+4-5
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,13 @@ VERSION=$(shell git describe)
7676
TARNAME=node-$(VERSION)
7777

7878
dist: doc/node.1 doc/api.html
79-
git archive --prefix=$(TARNAME)/ HEAD > $(TARNAME).tar
79+
git archive --format=tar --prefix=$(TARNAME)/ HEAD | tar xf -
8080
mkdir -p $(TARNAME)/doc
8181
cp doc/node.1 $(TARNAME)/doc/node.1
8282
cp doc/api.html $(TARNAME)/doc/api.html
83-
tar rf $(TARNAME).tar \
84-
$(TARNAME)/doc/node.1 \
85-
$(TARNAME)/doc/api.html
86-
rm -r $(TARNAME)
83+
rm -rf $(TARNAME)/deps/v8/test # too big
84+
tar -cf $(TARNAME).tar $(TARNAME)
85+
rm -rf $(TARNAME)
8786
gzip -f -9 $(TARNAME).tar
8887

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

0 commit comments

Comments
 (0)