mirror of https://github.com/python/cpython
Tweak Mac/Makefile in to ensure that pythonw gets rebuild when the major version
of python changes (2.5 -> 2.6). Bug #1552935.
This commit is contained in:
parent
3564c4622f
commit
a6790f1aab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue