diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-05-09 15:08:39 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-05-09 15:08:39 (GMT) |
commit | a226b5723a780bd96ba5c9ecb9c05f578ceacc72 (patch) | |
tree | eb82a63616320a74e3dd6de85642cf7863a1d1e9 /Mac/OSX | |
parent | 8b6ed26dc7d67fbffb1df02925c7a9a0d487e9c4 (diff) | |
download | cpython-a226b5723a780bd96ba5c9ecb9c05f578ceacc72.zip cpython-a226b5723a780bd96ba5c9ecb9c05f578ceacc72.tar.gz cpython-a226b5723a780bd96ba5c9ecb9c05f578ceacc72.tar.bz2 |
Pass DIRMODE and FILEMODE to Mac/OSX/Makefile on framework builds (and
honor them). Use this when building the MacOSX binary installer to
get group-writeable files.
Ths fix works for directories and executables, not for files just yet,
because of bug #735274.
Diffstat (limited to 'Mac/OSX')
-rwxr-xr-x | Mac/OSX/Dist/build | 2 | ||||
-rw-r--r-- | Mac/OSX/Makefile | 3 |
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 \ |