Skip to content

Commit 560a15b

Browse files
committed
Reworked packaging for macOS port.
1 parent 0fd8075 commit 560a15b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,12 @@ clean-$1:
278278

279279
dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-$1) $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1)
280280
mkdir -p dist
281+
ifeq ($1,macOS)
282+
mv build/$1/Python-$(PYTHON_VERSION)-macosx.x86_64/dist build/$1/python
283+
tar zcvf $$@ -C build/$1 python
284+
else
281285
tar zcvf $$@ -C build/$1 $$(notdir $$^)
286+
endif
282287

283288
# Build OpenSSL.framework
284289
OpenSSL.framework-$1: $$(OPENSSL_FRAMEWORK-$1)

0 commit comments

Comments
 (0)