Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 7f481a5

Browse files
committed
Build tarballs in dist/
1 parent f654a13 commit 7f481a5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ archive/*
55
build/*
66
downloads/*
77
diff/*
8-
Python-*-*-support.*.tar.gz
8+
dist/*

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ all: $(foreach os,$(OS),all-$(os))
5454

5555
# Clean all builds
5656
clean:
57-
rm -rf build Python-$(PYTHON_VERSION)-*-support.b$(BUILD_NUMBER).tar.gz
57+
rm -rf build dist
5858

5959
# Full clean - includes all downloaded products
6060
distclean: clean
@@ -222,12 +222,13 @@ OPENSSL_FRAMEWORK-$1= build/$1/OpenSSL.framework
222222
PYTHON_FRAMEWORK-$1= build/$1/Python.framework
223223
PYTHON_RESOURCES-$1= $$(PYTHON_FRAMEWORK-$1)/Versions/$(PYTHON_VER)/Resources
224224

225-
all-$1: Python-$(PYTHON_VERSION)-$1-support.b$(BUILD_NUMBER).tar.gz
225+
all-$1: dist/Python-$(PYTHON_VERSION)-$1-support.b$(BUILD_NUMBER).tar.gz
226226

227227
clean-$1:
228228
rm -rf build/$1
229229

230-
Python-$(PYTHON_VERSION)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1)
230+
dist/Python-$(PYTHON_VERSION)-$1-support.b$(BUILD_NUMBER).tar.gz: $$(OPENSSL_FRAMEWORK-$1) $$(PYTHON_FRAMEWORK-$1)
231+
mkdir dist
231232
tar zcvf $$@ -C build/$1 $$(notdir $$^)
232233

233234
OpenSSL.framework-$1: $$(OPENSSL_FRAMEWORK-$1)

0 commit comments

Comments
 (0)