@@ -299,7 +299,7 @@ endif
299
299
# Build Python
300
300
$$(PYTHON_DIR-$1 ) /dist/lib/libpython$(PYTHON_VER ) m.a: build/$2/Support/OpenSSL build/$2/Support/BZip2 build/$2/Support/XZ $$(PYTHON_DIR-$1 ) /Makefile
301
301
# Build target Python
302
- cd $$(PYTHON_DIR-$1 ) && PATH=$(PROJECT_DIR ) /$(PYTHON_DIR-macOS ) /dist/bin:$(PATH ) make all install
302
+ cd $$(PYTHON_DIR-$1 ) && PATH=" $(PROJECT_DIR ) /$(PYTHON_DIR-macOS ) /dist/bin:$(PATH ) " make all install
303
303
304
304
build/$2/$$(pyconfig.h-$1 ) : $$(PYTHON_DIR-$1 ) /dist/include/python$(PYTHON_VER ) m/pyconfig.h
305
305
cp -f $$^ $$@
@@ -341,17 +341,18 @@ clean-$1:
341
341
342
342
dist/Python-$(PYTHON_VER ) -$1-support.b$(BUILD_NUMBER ) .tar.gz: $$(BZIP2_FRAMEWORK-$1 ) $$(XZ_FRAMEWORK-$1 ) $$(OPENSSL_FRAMEWORK-$1 ) $$(PYTHON_FRAMEWORK-$1 )
343
343
mkdir -p dist
344
- echo "Python version: $(PYTHON_VERSION ) " > build/$1/VERSIONS
345
- echo "Build: $(BUILD_NUMBER ) " >> build/$1/VERSIONS
346
- echo "---------------------" >> build/$1/VERSIONS
347
- echo "BZip2: $(BZIP2_VERSION ) " >> build/$1/VERSIONS
348
- echo "OpenSSL: $(OPENSSL_VERSION ) " >> build/$1/VERSIONS
349
- echo "XZ: $(XZ_VERSION ) " >> build/$1/VERSIONS
344
+ echo "Python version: $(PYTHON_VERSION ) " > build/$1/Support/ VERSIONS
345
+ echo "Build: $(BUILD_NUMBER ) " >> build/$1/Support/ VERSIONS
346
+ echo "---------------------" >> build/$1/Support/ VERSIONS
347
+ echo "BZip2: $(BZIP2_VERSION ) " >> build/$1/Support/ VERSIONS
348
+ echo "OpenSSL: $(OPENSSL_VERSION ) " >> build/$1/Support/ VERSIONS
349
+ echo "XZ: $(XZ_VERSION ) " >> build/$1/Support/ VERSIONS
350
350
ifeq ($1,macOS)
351
351
cp -r build/$1/Python-$(PYTHON_VERSION)-macosx.x86_64/dist build/$1/python
352
- tar zcvf $$@ -C build/$1 VERSIONS python
352
+ mv build/$1/Support/VERSIONS build/$1/python/VERSIONS
353
+ tar zcvf $$@ -C build/$1/python `ls -A build/$1/python`
353
354
else
354
- tar zcvf $$@ -C build/$1 VERSIONS Support
355
+ tar zcvf $$@ -C build/$1/Support `ls -A build/$1/ Support`
355
356
endif
356
357
357
358
# Build OpenSSL
0 commit comments