diff options
Diffstat (limited to 'Mac/BuildScript/scripts/postflight.documentation')
-rwxr-xr-x | Mac/BuildScript/scripts/postflight.documentation | 12 |
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 |