summaryrefslogtreecommitdiff
path: root/Mac/BuildScript/scripts/postflight.documentation
diff options
context:
space:
mode:
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 0000000000..85d400fe12
--- /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