Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
38e2d8e2
Commit
38e2d8e2
authored
May 17, 2009
by
Ronald Oussoren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update framework installation makefiles to deal correctly with the
rename of 'python' to 'python3'
parent
578cc749
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
23 deletions
+19
-23
Mac/Makefile.in
Mac/Makefile.in
+19
-23
No files found.
Mac/Makefile.in
View file @
38e2d8e2
...
...
@@ -56,8 +56,8 @@ installapps4way: install_Python4way install_PythonLauncher \
install_pythonw
:
pythonw
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw
"
$(DESTDIR)$(prefix)
/bin/pythonw
$(VERSION)
"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw
"
$(DESTDIR)$(prefix)
/bin/python
$(VERSION)
"
ln
-sf
python
$(VERSION)
"
$(DESTDIR)$(prefix)
/bin/python"
ln
-sf
pythonw
$(VERSION)
"
$(DESTDIR)$(prefix)
/bin/pythonw"
ln
-sf
python
$(VERSION)
"
$(DESTDIR)$(prefix)
/bin/python
3
"
ln
-sf
pythonw
$(VERSION)
"
$(DESTDIR)$(prefix)
/bin/pythonw
3
"
# Install 3 variants of python/pythonw:
...
...
@@ -68,23 +68,23 @@ install_pythonw: pythonw
install_pythonw4way
:
pythonw-32 pythonw-64 pythonw
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw-64
"
$(DESTDIR)$(prefix)
/bin/pythonw
$(VERSION)
-64"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw-64
"
$(DESTDIR)$(prefix)
/bin/python
$(VERSION)
-64"
ln
-sf
python
$(VERSION)
-64
"
$(DESTDIR)$(prefix)
/bin/python-64"
ln
-sf
pythonw
$(VERSION)
-64
"
$(DESTDIR)$(prefix)
/bin/pythonw-64"
ln
-sf
python
$(VERSION)
-64
"
$(DESTDIR)$(prefix)
/bin/python
3
-64"
ln
-sf
pythonw
$(VERSION)
-64
"
$(DESTDIR)$(prefix)
/bin/pythonw
3
-64"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw-32
"$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-32"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw-32
"$(DESTDIR)$(prefix)/bin/python$(VERSION)-32"
ln
-sf
python$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/python-32"
ln
-sf
pythonw$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/pythonw-32"
ln
-sf
python$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/python
3
-32"
ln
-sf
pythonw$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/pythonw
3
-32"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw
"$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)-all"
$(INSTALL_PROGRAM)
$(STRIPFLAG)
pythonw
"$(DESTDIR)$(prefix)/bin/python$(VERSION)-all"
ln
-sf
python$(VERSION)-all
"$(DESTDIR)$(prefix)/bin/python-all"
ln
-sf
pythonw$(VERSION)-all
"$(DESTDIR)$(prefix)/bin/pythonw-all"
ln
-sf
python$(VERSION)-all
"$(DESTDIR)$(prefix)/bin/python
3
-all"
ln
-sf
pythonw$(VERSION)-all
"$(DESTDIR)$(prefix)/bin/pythonw
3
-all"
ln
-sf
pythonw$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/pythonw$(VERSION)"
ln
-sf
python$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/python$(VERSION)"
ln
-sf
pythonw$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/pythonw"
ln
-sf
python$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/python"
ln
-sf
pythonw$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/pythonw
3
"
ln
-sf
python$(VERSION)-32
"$(DESTDIR)$(prefix)/bin/python
3
"
#
# Install unix tools in /usr/local/bin. These are just aliases for the
...
...
@@ -94,9 +94,9 @@ installunixtools:
if
[
!
-d
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin"
]
;
then
\
$(INSTALL)
-d
-m
$(DIRMODE)
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin"
;
\
fi
for
fn
in
python
pythonw idle pydoc python-config smtpd.py
\
for
fn
in
python
3 pythonw3 idle3 pydoc3 python3-config
\
python
$(VERSION)
pythonw
$(VERSION)
idle
$(VERSION)
\
pydoc
$(VERSION)
python
$(VERSION)
-config
smtpd
$(VERSION)
.py
;
\
pydoc
$(VERSION)
python
$(VERSION)
-config
;
\
do
\
ln
-fs
"
$(prefix)
/bin/
$
${fn}
"
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin/
$
${fn}
"
;
\
done
...
...
@@ -114,7 +114,7 @@ altinstallunixtools:
$(INSTALL)
-d
-m
$(DIRMODE)
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin"
;
\
fi
for
fn
in
python
$(VERSION)
pythonw
$(VERSION)
idle
$(VERSION)
\
pydoc
$(VERSION)
python
$(VERSION)
-config
smtpd
$(VERSION)
.py
;
\
pydoc
$(VERSION)
python
$(VERSION)
-config
;
\
do
\
ln
-fs
"
$(prefix)
/bin/
$
${fn}
"
"
$(DESTDIR)$(FRAMEWORKUNIXTOOLSPREFIX)
/bin/
$
${fn}
"
;
\
done
...
...
@@ -129,19 +129,15 @@ altinstallunixtools4way: altinstallunixtools
install_versionedtools
:
for
fn
in
idle pydoc
;
\
do
\
if
[
-h
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
"
]
;
then
\
if
[
-h
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3
"
]
;
then
\
continue
;
\
fi
;
\
mv
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}$(VERSION)
"
;
\
ln
-sf
"
$
${fn}$(VERSION)
"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
"
;
\
mv
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3
"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}$(VERSION)
"
;
\
ln
-sf
"
$
${fn}$(VERSION)
"
"
$(DESTDIR)$(prefix)
/bin/
$
${fn}
3
"
;
\
done
if
[
!
-h
"
$(DESTDIR)$(prefix)
/bin/python-config"
]
;
then
\
mv
"
$(DESTDIR)$(prefix)
/bin/python-config"
"
$(DESTDIR)$(prefix)
/bin/python
$(VERSION)
-config"
;
\
ln
-sf
"python
$(VERSION)
-config"
"
$(DESTDIR)$(prefix)
/bin/python-config"
;
\
fi
if
[
!
-h
"
$(DESTDIR)$(prefix)
/bin/smtpd.py"
]
;
then
\
mv
"
$(DESTDIR)$(prefix)
/bin/smtpd.py"
"
$(DESTDIR)$(prefix)
/bin/smtpd
$(VERSION)
.py"
;
\
ln
-sf
"smtpd
$(VERSION)
.py"
"
$(DESTDIR)$(prefix)
/bin/smtpd.py"
;
\
if
[
!
-h
"
$(DESTDIR)$(prefix)
/bin/python3-config"
]
;
then
\
mv
"
$(DESTDIR)$(prefix)
/bin/python3-config"
"
$(DESTDIR)$(prefix)
/bin/python
$(VERSION)
-config"
;
\
ln
-sf
"python
$(VERSION)
-config"
"
$(DESTDIR)$(prefix)
/bin/python3-config"
;
\
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment