|
@ -193,7 +193,15 @@ docclean: |
|
|
|
|
|
|
|
|
VERSION=v$(shell $(PYTHON) tools/getnodeversion.py) |
|
|
VERSION=v$(shell $(PYTHON) tools/getnodeversion.py) |
|
|
PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]') |
|
|
PLATFORM=$(shell uname | tr '[:upper:]' '[:lower:]') |
|
|
|
|
|
ifeq ($(DESTCPU),x64) |
|
|
|
|
|
ARCH=x86_64 |
|
|
|
|
|
else |
|
|
|
|
|
ifeq ($(DESTCPU),ia32) |
|
|
|
|
|
ARCH=i386 |
|
|
|
|
|
else |
|
|
ARCH=$(shell uname -m) |
|
|
ARCH=$(shell uname -m) |
|
|
|
|
|
endif |
|
|
|
|
|
endif |
|
|
TARNAME=node-$(VERSION) |
|
|
TARNAME=node-$(VERSION) |
|
|
TARBALL=$(TARNAME).tar.gz |
|
|
TARBALL=$(TARNAME).tar.gz |
|
|
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH) |
|
|
BINARYNAME=$(TARNAME)-$(PLATFORM)-$(ARCH) |
|
|