annotate Mac/BuildScript/scripts/postflight.documentation @ 49381:b9afa7c9cc35 legacy-trunk

we're in 2.7 now
author Benjamin Peterson <benjamin@python.org>
date Thu, 02 Oct 2008 19:00:31 +0000
parents b9d3301e5f19
children bb757facbfa6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
38252
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
1 #!/bin/sh
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
2
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
3 PYVER="@PYVER@"
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
4
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
5 if [ -d /Developer/Documentation ]; then
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
6 if [ ! -d /Developer/Documentation/Python ]; then
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
7 mkdir -p /Developer/Documentation/Python
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
8 fi
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
9
40049
b9d3301e5f19 Add version number to the link to the python documentation in
Ronald Oussoren <ronaldoussoren@mac.com>
parents: 38645
diff changeset
10 ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
38252
75bdd44f85dc An improved script for building the binary distribution on MacOSX.
Ronald Oussoren <ronaldoussoren@mac.com>
parents:
diff changeset
11 fi