Skip to content

Commit d19f80c

Browse files
committed
Reworked packaging for macOS port.
1 parent 05be463 commit d19f80c

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
@@ -317,7 +317,12 @@ clean-$1:
317317

318318
dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-$1) $$(XZ_FRAMEWORK-$1) $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1)
319319
mkdir -p dist
320+
ifeq ($1,macOS)
321+
mv build/$1/Python-$(PYTHON_VERSION)-macosx.x86_64/dist build/$1/python
322+
tar zcvf $$@ -C build/$1 python
323+
else
320324
tar zcvf $$@ -C build/$1 $$(notdir $$^)
325+
endif
321326

322327
# Build OpenSSL.framework
323328
OpenSSL.framework-$1: $$(OPENSSL_FRAMEWORK-$1)

0 commit comments

Comments
 (0)