From 1f88aeec23e4294a044d10135f21212eca98b2ce Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 9 Jul 2016 06:57:08 +0800 Subject: [PATCH] Reworked packaging for macOS port. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 018aea4..b86c857 100644 --- a/Makefile +++ b/Makefile @@ -317,7 +317,12 @@ clean-$1: dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(BZIP2_FRAMEWORK-$1) $$(XZ_FRAMEWORK-$1) $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1) mkdir -p dist +ifeq ($1,macOS) + mv build/$1/Python-$(PYTHON_VERSION)-macosx.x86_64/dist build/$1/python + tar zcvf $$@ -C build/$1 python +else tar zcvf $$@ -C build/$1 $$(notdir $$^) +endif # Build OpenSSL.framework OpenSSL.framework-$1: $$(OPENSSL_FRAMEWORK-$1)