Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Mac/BuildScript/scripts/postflight.documentation

    r2 r391  
    22
    33PYVER="@PYVER@"
     4FWK="/Library/Frameworks/Python.framework/Versions/${PYVER}"
     5FWK_DOCDIR_SUBPATH="Resources/English.lproj/Documentation"
     6FWK_DOCDIR="${FWK}/${FWK_DOCDIR_SUBPATH}"
     7APPDIR="/Applications/Python ${PYVER}"
     8SHARE_DIR="${FWK}/share"
     9SHARE_DOCDIR="${SHARE_DIR}/doc/python${PYVER}"
     10SHARE_DOCDIR_TO_FWK="../../.."
    411
    5 if [ -d /Developer/Documentation ]; then
    6         if [ ! -d /Developer/Documentation/Python ]; then
    7                 mkdir -p /Developer/Documentation/Python
    8         fi
     12# make link in /Applications/Python m.n/ for Finder users
     13if [ -d "${APPDIR}" ]; then
     14    ln -fhs "${FWK_DOCDIR}/index.html" "${APPDIR}/Python Documentation.html"
     15fi
    916
    10         ln -fhs /Library/Frameworks/Python.framework/Versions/${PYVER}/Resources/English.lproj/Documentation "/Developer/Documentation/Python/Reference Documentation @PYVER@"
     17# make share/doc link in framework for command line users
     18if [ -d "${SHARE_DIR}" ]; then
     19    mkdir -m 775 -p "${SHARE_DOCDIR}"
     20    # make relative link to html doc directory
     21    ln -fhs "${SHARE_DOCDIR_TO_FWK}/${FWK_DOCDIR_SUBPATH}" "${SHARE_DOCDIR}/html"
    1122fi
     23
Note: See TracChangeset for help on using the changeset viewer.