[Python-checkins] r51904 - python/trunk/Mac/Makefile.in
ronald.oussoren
python-checkins at python.org
Sun Sep 17 21:23:28 CEST 2006
Author: ronald.oussoren
Date: Sun Sep 17 21:23:27 2006
New Revision: 51904
Modified:
python/trunk/Mac/Makefile.in
Log:
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
of python changes (2.5 -> 2.6). Bug #1552935.
Modified: python/trunk/Mac/Makefile.in
==============================================================================
--- python/trunk/Mac/Makefile.in (original)
+++ python/trunk/Mac/Makefile.in Sun Sep 17 21:23:27 2006
@@ -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
More information about the Python-checkins
mailing list