From 560a15b688554e404a925cb647731fcbffcb0e95 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 9 Jul 2016 06:46:51 +0800 Subject: [PATCH] Reworked packaging for macOS port. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index bb5ce6a..488bfe8 100644 --- a/Makefile +++ b/Makefile @@ -278,7 +278,12 @@ clean-$1: dist/Python-$(PYTHON_VER)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(BZIP2_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)