Lines Matching refs:MAKEFILE
8 This script modifies the Makefile (in .../lib/python2.3/config) to use
19 MAKEFILE='/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config/Makefile'
48 def fix(makefile, do_apply):
49 """Fix the Makefile, if required."""
51 lines = open(makefile).readlines()
69 os.rename(makefile, makefile + '~')
70 open(makefile, 'w').writelines(lines)
111 if not os.path.exists(MAKEFILE):
115 if do_apply and not os.access(MAKEFILE, os.W_OK):
124 # Finally fix the makefile
125 rv = fix(MAKEFILE, do_apply)