]> granicus.if.org Git - python/commitdiff
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Sep 2006 19:23:27 +0000 (19:23 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Sep 2006 19:23:27 +0000 (19:23 +0000)
of python changes (2.5 -> 2.6). Bug #1552935.

Mac/Makefile.in

index 11f14386204572dd7ebea74fc3a8466c2a4343c9..8b2e1dbabf87146423dffd9b307ede4f2a46fe84 100644 (file)
@@ -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