summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-12-28 09:51:43 (GMT)
committerGeorg Brandl <georg@python.org>2010-12-28 09:51:43 (GMT)
commitff52f76019816be0fb590a294486a33cf1ee93f7 (patch)
treecb1b757f5b182948324792c821408337837ec207 /Makefile.pre.in
parent15641925b81efec984a2844276edc5c07c2eebff (diff)
downloadcpython-ff52f76019816be0fb590a294486a33cf1ee93f7.zip
cpython-ff52f76019816be0fb590a294486a33cf1ee93f7.tar.gz
cpython-ff52f76019816be0fb590a294486a33cf1ee93f7.tar.bz2
#10679: install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index edbb7dd..aa6d3a8 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -870,6 +870,12 @@ bininstall: altbininstall
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python3-config)
-rm -f $(DESTDIR)$(LIBPC)/python3.pc
(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python3.pc)
+ -rm -f $(DESTDIR)$(BINDIR)/idle3
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3)
+ -rm -f $(DESTDIR)$(BINDIR)/pydoc3
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3)
+ -rm -f $(DESTDIR)$(BINDIR)/2to3
+ (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3)
# Install the manual page
maninstall: