summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-05-19 11:27:25 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2009-05-19 11:27:25 (GMT)
commitf84d7e9ed21294f6001345ddc6b2a8c4894ab70c (patch)
tree1670bc64d0fa29904378783b31b9995c3523fdd8 /Mac/BuildScript
parent9a4414d76d20419921f52624f43448ee2ba8684b (diff)
downloadcpython-f84d7e9ed21294f6001345ddc6b2a8c4894ab70c.zip
cpython-f84d7e9ed21294f6001345ddc6b2a8c4894ab70c.tar.gz
cpython-f84d7e9ed21294f6001345ddc6b2a8c4894ab70c.tar.bz2
MACOSX
* Remove junk documentation resources from the Python.app inside the framework (This is a left-over from the ancient Python IDE, which was removed before 2.5) * Ensure that the documentation is installed in a location where IDLE will see it
Diffstat (limited to 'Mac/BuildScript')
-rwxr-xr-xMac/BuildScript/build-installer.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Mac/BuildScript/build-installer.py b/Mac/BuildScript/build-installer.py
index 974fe52..3cd9d2d 100755
--- a/Mac/BuildScript/build-installer.py
+++ b/Mac/BuildScript/build-installer.py
@@ -614,10 +614,9 @@ def buildPythonDocs():
runCommand('make update')
runCommand('make html')
os.chdir(curDir)
- if not os.path.exists(docdir):
- os.mkdir(docdir)
- os.rename(os.path.join(buildDir, 'build', 'html'),
- os.path.join(docdir, 'python-docs-html'))
+ if os.path.exists(docdir):
+ os.rmdir(docdir)
+ os.rename(os.path.join(buildDir, 'build', 'html'), docdir)
def buildPython():
@@ -663,7 +662,7 @@ def buildPython():
runCommand("make")
print "Running make frameworkinstall"
- runCommand("make frameworkinstall DESTDIR=%s"%(
+ runCommand("make install DESTDIR=%s"%(
shellQuote(rootDir)))
print "Running make frameworkinstallextras"