summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-09-17 19:23:27 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-09-17 19:23:27 (GMT)
commita6790f1aab8e4df3d66a5f16cc8266fd693507f1 (patch)
tree91842524d26edd0dc935211aebb7645a20e528bc /Mac
parent3564c4622fb5c3bb654bafd8b0169a7244c3f39c (diff)
downloadcpython-a6790f1aab8e4df3d66a5f16cc8266fd693507f1.zip
cpython-a6790f1aab8e4df3d66a5f16cc8266fd693507f1.tar.gz
cpython-a6790f1aab8e4df3d66a5f16cc8266fd693507f1.tar.bz2
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
of python changes (2.5 -> 2.6). Bug #1552935.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Makefile.in b/Mac/Makefile.in
index 11f1438..8b2e1db 100644
--- a/Mac/Makefile.in
+++ b/Mac/Makefile.in
@@ -101,7 +101,7 @@ install_versionedtools:
fi
-pythonw: $(srcdir)/Tools/pythonw.c
+pythonw: $(srcdir)/Tools/pythonw.c Makefile
$(CC) $(LDFLAGS) -o $@ $(srcdir)/Tools/pythonw.c \
-DPYTHONWEXECUTABLE='"$(APPINSTALLDIR)/Contents/MacOS/Python"'
@@ -249,3 +249,6 @@ clean:
rm pythonw
cd PythonLauncher && make clean
cd IDLE && make clean
+
+Makefile: $(srcdir)/Makefile.in ../config.status
+ cd .. && CONFIG_FILES=Mac/Makefile CONFIG_HEADERS= $(SHELL) ./config.status