Browse Source

Change the 'make dist' to remove v8 test dir

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
ce2d5ad0d7
  1. 9
      Makefile

9
Makefile

@ -76,14 +76,13 @@ VERSION=$(shell git describe)
TARNAME=node-$(VERSION) TARNAME=node-$(VERSION)
dist: doc/node.1 doc/api.html 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 mkdir -p $(TARNAME)/doc
cp doc/node.1 $(TARNAME)/doc/node.1 cp doc/node.1 $(TARNAME)/doc/node.1
cp doc/api.html $(TARNAME)/doc/api.html cp doc/api.html $(TARNAME)/doc/api.html
tar rf $(TARNAME).tar \ rm -rf $(TARNAME)/deps/v8/test # too big
$(TARNAME)/doc/node.1 \ tar -cf $(TARNAME).tar $(TARNAME)
$(TARNAME)/doc/api.html rm -rf $(TARNAME)
rm -r $(TARNAME)
gzip -f -9 $(TARNAME).tar gzip -f -9 $(TARNAME).tar
.PHONY: benchmark clean docclean dist distclean check uninstall install all test test-all website-upload .PHONY: benchmark clean docclean dist distclean check uninstall install all test test-all website-upload

Loading…
Cancel
Save