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:
Ronald Oussoren 2006-09-17 19:23:27 +00:00
parent 3564c4622f
commit a6790f1aab
1 changed files with 4 additions and 1 deletions

View 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