summaryrefslogtreecommitdiffstats
path: root/Mac/OSX
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/OSX')
-rwxr-xr-xMac/OSX/Dist/build2
-rw-r--r--Mac/OSX/Makefile3
2 files changed, 3 insertions, 2 deletions
diff --git a/Mac/OSX/Dist/build b/Mac/OSX/Dist/build
index 1560ee1..809f8ff 100755
--- a/Mac/OSX/Dist/build
+++ b/Mac/OSX/Dist/build
@@ -70,7 +70,7 @@ fi
$PYTHONSRC/configure --enable-framework=$INSTALLROOT/Library/Frameworks LDFLAGS=-Wl,-x
make
-make frameworkinstall
+make DIRMODE=775 EXEMODE=775 FILEMODE=664 frameworkinstall
if [ "$builddocs" = "y" -o "$builddocs" = "Y" ]; then
./python.exe $PYTHONSRC/Mac/OSX/setupDocs.py build
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index f83d415..43313fd 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -22,11 +22,12 @@ INSTALLED_PYTHONW=$(APPINSTALLDIR)/Contents/MacOS/python
# Items more-or-less copied from the main Makefile
DIRMODE=755
+FILEMODE=644
INSTALL=/usr/bin/install -c
INSTALL_SYMLINK=ln -fs
INSTALL_PROGRAM=${INSTALL}
INSTALL_SCRIPT= ${INSTALL_PROGRAM}
-INSTALL_DATA= ${INSTALL} -m 644
+INSTALL_DATA= ${INSTALL} -m ${FILEMODE}
LN=ln
STRIPFLAG=-s
##OPT=-g -O3 -Wall -Wstrict-prototypes -Wno-long-double -no-cpp-precomp \