summaryrefslogtreecommitdiffstats
path: root/Mac/BuildScript/scripts/postflight.documentation
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2006-06-07 18:58:42 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2006-06-07 18:58:42 (GMT)
commit0e5b70d417ef5056007e84581e2843b97e254af8 (patch)
treed4583bbb9d1d3bdaa6789800558e499af5c4c67f /Mac/BuildScript/scripts/postflight.documentation
parentc629be8a1e77786e3a839ed4784c7b2b36c6344f (diff)
downloadcpython-0e5b70d417ef5056007e84581e2843b97e254af8.zip
cpython-0e5b70d417ef5056007e84581e2843b97e254af8.tar.gz
cpython-0e5b70d417ef5056007e84581e2843b97e254af8.tar.bz2
mv Mac/OSX/BuildScript one level up
Diffstat (limited to 'Mac/BuildScript/scripts/postflight.documentation')
-rwxr-xr-xMac/BuildScript/scripts/postflight.documentation12
1 files changed, 12 insertions, 0 deletions
diff --git a/Mac/BuildScript/scripts/postflight.documentation b/Mac/BuildScript/scripts/postflight.documentation
new file mode 100755
index 0000000..85d400f
--- /dev/null
+++ b/Mac/BuildScript/scripts/postflight.documentation
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# FIXME
+PYVER="@PYVER@"
+
+if [ -d /Developer/Documentation ]; then
+ if [ ! -d /Developer/Documentation/Python ]; then
+ mkdir -p /Developer/Documentation/Python
+ fi
+
+ ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation"
+fi