FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cpython/Mac/BuildScript/scripts/postflight.documentation at 3.8 · python/cpython · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
python
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.3k
Star
74.9k
Code
Issues
5k+
Pull requests
2.6k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cpython
/
Mac
/
BuildScript
/
scripts
/
postflight.documentation
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
26 lines (22 loc) · 879 Bytes
Breadcrumbs
cpython
/
Mac
/
BuildScript
/
scripts
/
postflight.documentation
Copy path
File metadata and controls
executable file
·
26 lines (22 loc) · 879 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!
/bin/sh
PYVER=
"
@PYVER@
"
FWK=
"
/Library/Frameworks/Python.framework/Versions/
${PYVER}
"
FWK_DOCDIR_SUBPATH=
"
Resources/English.lproj/Documentation
"
FWK_DOCDIR=
"
${FWK}
/
${FWK_DOCDIR_SUBPATH}
"
APPDIR=
"
/Applications/Python
${PYVER}
"
SHARE_DIR=
"
${FWK}
/share
"
SHARE_DOCDIR=
"
${SHARE_DIR}
/doc/python
${PYVER}
"
SHARE_DOCDIR_TO_FWK=
"
../../..
"
#
make link in /Applications/Python m.n/ for Finder users
if
[
-d
"
${APPDIR}
"
]
;
then
ln -fhs
"
${FWK_DOCDIR}
/index.html
"
"
${APPDIR}
/Python Documentation.html
"
if
[
"
${COMMAND_LINE_INSTALL}
"
!=
1 ]
;
then
open
"
${APPDIR}
"
||
true
#
open the applications folder
fi
fi
#
make share/doc link in framework for command line users
if
[
-d
"
${SHARE_DIR}
"
]
;
then
mkdir -m 775 -p
"
${SHARE_DOCDIR}
"
#
make relative link to html doc directory
ln -fhs
"
${SHARE_DOCDIR_TO_FWK}
/
${FWK_DOCDIR_SUBPATH}
"
"
${SHARE_DOCDIR}
/html
"
fi
Back
|
FazBrowse Home
|
New Git URL