diff options
author | Barry Warsaw <barry@python.org> | 2010-12-11 21:32:01 +0000 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2010-12-11 21:32:01 +0000 |
commit | 8cc470428c81be685bb04f6627b46dd63b24c950 (patch) | |
tree | 83ef92cc2fc25c7cbe07cb6cfeb2c34e8cdf1436 /Makefile.pre.in | |
parent | f44c68b9f45f6c3a9b9b0065b88d8fcc4c7e7235 (diff) | |
download | cpython-8cc470428c81be685bb04f6627b46dd63b24c950.tar.gz |
Create the hardlink between python-3.2m and python-3.2 in altbininstall target
instead of bininstall target so it shows up when you do 'make altinstall'.
Closes issue 10677.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 67a74b9001..4c7c28bc9c 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -836,6 +836,11 @@ altbininstall: $(BUILDPYTHON) fi; \ done $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(LDVERSION)$(EXE) + -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE); \ + then rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ + else true; \ + fi + (cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE)) if test -f $(LDLIBRARY); then \ if test -n "$(DLLLIBRARY)" ; then \ $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \ @@ -853,11 +858,6 @@ bininstall: altbininstall then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON)3$(EXE); \ else true; \ fi - -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON)$(VERSION)$(EXE); \ - then rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \ - else true; \ - fi - (cd $(DESTDIR)$(BINDIR); $(LN) python$(LDVERSION)$(EXE) python$(VERSION)$(EXE)) (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3$(EXE)) -rm -f $(DESTDIR)$(BINDIR)/python3-config -rm -f $(DESTDIR)$(BINDIR)/python$(VERSION)-config |