Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
of python changes (2.5 -> 2.6). Bug #1552935.
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 @@
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 @@
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